/*
 * Форма бронирования рейса круиза: блоки те же, что у формы брони тура.
 * Правила ниже СКОПИРОВАНЫ из темы season (assets/css/single-tour.css, inc/calendar-tour/custom-flatpickr.css,
 * assets/css/form-brontura.css) скриптом «Проекты Codex/.claude/cruise-book-css/build.py» 17.11.2026
 * и ограничены секцией .cz-book. Руками здесь править только блок «Свое» в конце (extra.css рядом со скриптом);
 * если меняется вид формы тура — пересобрать скриптом.
 */

/* --- из темы: assets/css/single-tour.css --- */
.cz-book .maket-wrap .header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto;
}

.cz-book .maket-wrap .header-row h2,
.cz-book .maket-wrap .ticket-category-title {
  margin: 0;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--color-ink);
}

.cz-book .maket-wrap .maket-subtitle,
.cz-book .maket-wrap .ticket-category-subtitle {
  max-width: 720px;
  margin: 12px auto 0;
  font-size: 17px;
  line-height: 1.4;
  color: #6b6f67;
}

.cz-book .maket-wrap .info-button,
.cz-book .maket-wrap .ticket-category-help__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 30px;
  min-height: 0;
  padding: 7px 12px 7px 10px;
  border: 1px solid #A0A0A0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-soft);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.cz-book .maket-wrap .info-button:hover,
.cz-book .maket-wrap .ticket-category-help__btn:hover {
  background: var(--color-primary-tint);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.cz-book .maket-wrap .info-button i,
.cz-book .maket-wrap .ticket-category-help__btn i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  flex-shrink: 0;
}

.cz-book .maket-wrap .maket-cen-wrapper {
  width: auto;
  box-sizing: border-box;
  margin: 26px -20px 0;
  padding: 22px 18px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  box-shadow: none;
}

.cz-book .maket-wrap .ticket-row {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  display: block;
}

.cz-book .maket-wrap .ticket-row:last-child {
  margin-bottom: 0;
}

.cz-book .maket-wrap .ticket-columns {
  display: block;
  width: 100%;
}

.cz-book .maket-wrap .ticket-info {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.cz-book .maket-wrap .ticket-info h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--color-ink);
}

.cz-book .maket-wrap .ticket-info h3 + .price-row,
.cz-book .maket-wrap .ticket-info h3 + .opis:empty + .price-row {
  margin-top: 8px;
}

.cz-book .maket-wrap .ticket-info .opis:empty {
  display: none;
}

.cz-book .maket-wrap .ticket-info .opis,
.cz-book .maket-wrap .ticket-row .ticket-info .sub-info {
  margin: 8px 0 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-soft);
}

.cz-book .maket-wrap .price-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  gap: 0;
  margin-bottom: 10px;
  padding: 0;
  border: 1px solid var(--color-day-border);
  border-radius: 14px;
  background: var(--color-bg);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.cz-book .maket-wrap .price-row:last-child {
  margin-bottom: 0;
}

.cz-book .maket-wrap .price-row:hover,
.cz-book .maket-wrap .price-row.selected {
  border: 1px solid var(--color-primary);
  background: #fdf7f2;
  box-shadow: none;
}

.cz-book .maket-wrap .price-row.is-sold,
.cz-book .maket-wrap .price-row.is-sold:hover {
  border: 1px solid var(--color-day-border);
  background: #f6f6f2;
  cursor: default;
}

.cz-book .maket-wrap .price-row.is-sold .price-output {
  font-size: 17px;
  font-weight: 500;
  color: #8a8f86;
}

.cz-book .maket-wrap .price-row.is-sold .price-label {
  color: #9a9e96;
}

.cz-book .maket-wrap .price-row.is-sold .v-split,
.cz-book .maket-wrap .price-row.is-sold .price-select {
  display: none;
}

.cz-book .maket-wrap .price-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  padding: 10px 12px 10px 16px;
}

.cz-book .maket-wrap .price-left:not(:has(.price-label)) {
  padding-top: 14px;
  padding-bottom: 14px;
}

.cz-book .maket-wrap .v-split {
  width: 1px;
  flex: 0 0 1px;
  align-self: stretch;
  margin: 10px 0;
  background: #ecece5;
  border-radius: 0;
}

.cz-book .maket-wrap .price-select {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 112px;
  padding: 0 14px 0 12px;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-ink);
  white-space: nowrap;
}

.cz-book .maket-wrap .price-select .circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  display: inline-block;
  flex-shrink: 0;
}

.cz-book .maket-wrap .price-row.selected .price-select .circle {
  background: var(--color-primary);
}

.cz-book .maket-wrap .price-row.selected .price-select .label {
  color: var(--color-primary);
  font-weight: 500;
}

.cz-book .maket-wrap .price-output {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--color-ink);
}

.cz-book .maket-wrap .price-output ins {
  order: 1;
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: none;
}

.cz-book .maket-wrap .price-output del {
  order: 2;
  font-size: .72em;
  font-weight: 500;
  color: #8a8f86;
  text-decoration: line-through;
}

.cz-book .maket-wrap .price-label {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: #6b6f67;
}

@media (min-width: 600px) {
  .cz-book .maket-wrap .header-row h2,
  .cz-book .maket-wrap .ticket-category-title {
    font-size: 32px;
  }
  .cz-book .maket-wrap .maket-subtitle,
  .cz-book .maket-wrap .ticket-category-subtitle {
    font-size: 19px;
  }
  .cz-book .maket-wrap .info-button,
  .cz-book .maket-wrap .ticket-category-help__btn {
    gap: 9px;
    height: 36px;
    padding: 11px 18px 11px 14px;
    font-size: 15px;
  }
  .cz-book .maket-wrap .info-button i,
  .cz-book .maket-wrap .ticket-category-help__btn i {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
  .cz-book .maket-wrap .maket-cen-wrapper {
    max-width: 720px;
    margin: 26px auto 0;
    padding: 34px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
  }
  .cz-book .maket-wrap .ticket-info h3 {
    font-size: 22px;
  }
  .cz-book .maket-wrap .price-left {
    padding: 10px 22px;
  }
  .cz-book .maket-wrap .price-select {
    min-width: 158px;
    padding: 0 26px;
    gap: 12px;
    font-size: 17px;
  }
}

@media (min-width: 900px) {
  .cz-book .maket-wrap .header-row h2,
  .cz-book .maket-wrap .ticket-category-title {
    font-size: 38px;
  }
  .cz-book .maket-wrap .maket-cen-wrapper {
    padding: 44px 48px;
  }
}

.cz-book .tour-calendar-title {
  text-align: center;
  font-size: 40px;
  margin: 2rem 0 0;
  color: var(--color-ink);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.02;
}

.cz-book .tour-calendar-podtekst {
  text-align: center;
  font-size: 18px;
  margin: 10px 0 30px;
  color: black;
  font-weight: 400;
}

.cz-book .tour-calendar-podtekst.tour-calendar-pick {
  margin: 22px 0 20px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-text-faded);
}

@media (min-width: 600px) {
  .cz-book .tour-calendar-title {
    font-size: 50px;
  }
}

@media (min-width: 900px) {
  .cz-book .tour-calendar-title {
    font-size: 58px;
  }
  .cz-book .tour-calendar-podtekst.tour-calendar-pick {
    margin-top: 30px;
  }
}

.cz-book .svodka-blok {
  width: 100%;
  margin: 0 auto;
  background: #fff;
  box-shadow: none;
  border: 1px solid var(--color-border);
}

.cz-book .tour-booking-card {
  box-sizing: border-box;
  margin: 0 -20px;
  padding: 10px 20px;
  background: #fff;
  box-shadow: none;
  border: 1px solid var(--color-border);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  overflow: hidden;
}

.cz-book .spisok-turistov,
.cz-book .itogo-blok,
.cz-book .send-request-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.cz-book .itogo-blok {
  margin-top: 24px;
}

.cz-book .booking-discount-blok + .itogo-blok {
  margin-top: 5px;
}

.cz-book .send-request-wrap {
  margin-top: 18px;
}

.cz-book .svodka-blok {
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}

.cz-book .tour-booking-section {
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0;
}

.cz-book .tour-booking-card-title {
  max-width: 720px;
  margin: 0 auto 26px;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--color-ink);
}

.cz-book .tour-booking-card-title,
.cz-book #forma-broni {
  scroll-margin-top: 130px;
}

@media (min-width: 600px) {
  .cz-book .tour-booking-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 34px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
  }
  .cz-book .tour-booking-card-title {
    font-size: 32px;
  }
}

@media (min-width: 900px) {
  .cz-book .tour-booking-card {
    padding: 44px 48px;
  }
  .cz-book .tour-booking-card-title {
    font-size: 38px;
  }
}

@media (min-width: 1200px) {
  .cz-book .tour-calendar-title {
    font-size: 58px;
    margin: 4rem 0 0;
  }
  .cz-book .tour-calendar-podtekst {
    font-size: 20px;
  }
  .cz-book .tour-calendar-podtekst.tour-calendar-pick {
    font-size: 15px;
  }
  .cz-book .tour-booking-section {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
  }
  .cz-book .svodka-blok {
    width: 100%;
    max-width: 800px;
    margin: 20px auto 0;
  }
  .cz-book .svodka-blok {
    padding: 40px;
  }
}

.cz-book #booking {
  scroll-margin-top: 100px;
}

.cz-book .pay-note {
  --gap: 10px;
  --shift: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cz-book .tour-calendar-podtekst.pay-note {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  height: 30px;
  margin: 10px auto 0;
  padding: 7px 12px 7px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-soft);
  background: transparent;
  border: 1px solid #979797;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.cz-book .tour-calendar-podtekst.pay-note:hover {
  background: var(--color-primary-tint);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.cz-book .pay-note__icon {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  flex-shrink: 0;
  cursor: help;
}

@media (min-width: 600px) {
  .cz-book .tour-calendar-podtekst.pay-note {
    gap: 9px;
    height: 36px;
    margin-top: 20px;
    padding: 11px 18px 11px 14px;
    font-size: 15px;
  }
  .cz-book .pay-note__icon {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
}

.cz-book .pay-note__tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + var(--gap));
  transform: translateX(calc(-50% + var(--shift)));
  width: min(92vw, 560px);
  white-space: normal;
  background: #111;
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, visibility .15s ease;
  z-index: 50;
}

.cz-book .pay-note__tooltip::before {
  content:"";
  position:absolute;
  left: var(--arrow-x, 50%);
  top: -8px;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: #111;
}

.cz-book .pay-note--above .pay-note__tooltip {
  top: auto;
  bottom: calc(100% + var(--gap));
}

.cz-book .pay-note--above .pay-note__tooltip::before {
  top: auto;
  bottom: -8px;
  border: 8px solid transparent;
  border-top-color: #111;
}

.cz-book .pay-note:hover .pay-note__tooltip,
.cz-book .pay-note__icon:focus-visible + .pay-note__tooltip,
.cz-book .pay-note.pay-note--open .pay-note__tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cz-book .pay-note__tooltip {
  z-index: 10000;
  --gap: 12px;
}

.cz-book .pay-note__tooltip::before {
  pointer-events: none;
}

.cz-book .pay-note--above .pay-note__tooltip {
  bottom: calc(100% + var(--gap));
}

@media (max-width: 480px) {
  .cz-book .pay-note__tooltip {
    --gap: 14px;
  }
}

.cz-book .pay-note,
.cz-book .pay-note__tooltip {
  overflow: visible;
}

.cz-book .pay-note__tooltip::before {
  content: none !important;
}

.cz-book .pay-note__tooltip::after {
  content:"";
  position:absolute;
  left: var(--arrow-x, 50%);
  width: 14px;
  height: 14px;
  background:#111;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  pointer-events: none;
  top: 0;
  transform: translate(-50%,-50%) rotate(45deg);
  z-index: 1;
}

.cz-book .pay-note--above .pay-note__tooltip::after {
  top: auto;
  bottom: 0;
  transform: translate(-50%,50%) rotate(45deg);
}

.cz-book .pay-note__tooltip {
  z-index: 10000;
}

.cz-book .booking-discount-blok {
  width: 100%;
  box-sizing: border-box;
  margin: 24px 0 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.35;
  color: var(--color-text-soft);
  font-weight: 400;
}

.cz-book .booking-discount-blok strong {
  font-weight: 500;
}

.cz-book .booking-discount-blok + .itogo-blok {
  margin-top: 5px;
}

/* --- из темы: inc/calendar-tour/custom-flatpickr.css --- */
.cz-book .turist-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 14px;
  width: 100%;
  margin: 0;
  padding: 5px 0;
  border-bottom: 1px solid var(--color-border);
}

.cz-book .turist-row:last-child {
  border-bottom: 0;
}

.cz-book .turist-row .tip-name {
  grid-column: 1;
  grid-row: 1;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cz-book .turist-row .tip-price {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  font-size: 18px;
  font-weight: 500;
  color: #7a7f76;
}

.cz-book .turist-row .turist-controls {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cz-book .turist-row .minus-btn,
.cz-book .turist-row .plus-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-family: inherit;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.cz-book .turist-row .kolvo {
  min-width: 16px;
  width: auto;
  text-align: center;
  font-size: 20px;
  color: var(--color-ink);
}

.cz-book .booking-discount-blok {
  margin-top: 24px;
  font-size: 14px;
  color: var(--color-text-soft);
}

.cz-book .booking-discount-blok + .itogo-blok {
  margin-top: 5px;
}

.cz-book .itogo-blok {
  margin-top: 24px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--color-ink);
}

.cz-book .itogo-blok strong {
  font-weight: 600;
}

.cz-book .send-request-wrap {
  margin-top: 18px;
  text-align: left;
}

.cz-book .send-request-btn {
  border: 0;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 24px;
  cursor: pointer;
  transition: background-color .15s;
}

.cz-book .send-request-btn:hover {
  background: var(--color-primary-hover);
}

.cz-book #kolichestvo-turistov .kolvo-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 60px 0 40px;
  padding-bottom: 8px;
}

.cz-book #kolichestvo-turistov .kolvo-title {
  scroll-margin-top: 120px;
}

.cz-book .scroll-maket {
  scroll-margin-top: 150px;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .cz-book #kolichestvo-turistov .kolvo-title {
    font-size: 30px;
    font-weight: 600;
    color: #333;
    margin: 60px 0 40px;
    padding-bottom: 8px;
  }
  .cz-book .scroll-maket {
    scroll-margin-top: 180px;
    width: 800px;
    margin: 0 auto;
  }
}

.cz-book .turist-row .minus-btn:disabled {
  background: #f0f0ea !important;
  border-color: transparent !important;
  color: #cfcfc9 !important;
  opacity: 1 !important;
  cursor: default !important;
}

@media (min-width: 600px) {
  .cz-book .turist-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 0;
  }
  .cz-book .turist-row .tip-name {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    font-size: 19px;
    font-weight: 400;
    overflow: visible;
  }
  .cz-book .turist-row .tip-name::after {
    content: "";
    display: block;
    flex: 1;
    border-bottom: 1px dotted #cfd2cb;
    margin: 0 12px;
    transform: translateY(2px);
  }
  .cz-book .turist-row .tip-price {
    font-size: 19px;
    font-weight: 400;
    color: var(--color-ink);
    text-align: right;
    margin-right: 14px;
  }
  .cz-book .turist-row .turist-controls {
    gap: 8px;
  }
  .cz-book .turist-row .minus-btn,
  .cz-book .turist-row .plus-btn {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
  .cz-book .itogo-blok {
    font-size: 23px;
  }
}

/* --- из темы: assets/css/form-brontura.css --- */
.cz-book .form-title {
  max-width: 720px;
  margin: 60px auto 0;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--color-ink);
}

.cz-book .form-subtitle {
  max-width: 720px;
  margin: 12px auto 0;
  font-size: 17px;
  line-height: 1.4;
  color: #6b6f67;
}

.cz-book .form-brontura {
  width: 100%;
  margin: 26px auto 80px;
  box-sizing: border-box;
}

.cz-book .form-brontura .cz-bookfields {
  box-sizing: border-box;
  margin: 0 -20px;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.cz-book .form-brontura .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cz-book .form-brontura .tourist-title {
  margin: 26px 0 16px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--color-ink);
}

.cz-book .form-brontura .tourist-info:first-child .tourist-title {
  margin-top: 0;
}

.cz-book .form-brontura h3 {
  margin: 30px 0 14px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--color-ink);
}

.cz-book .form-brontura .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 10px;
}

.cz-book .form-brontura .tour-form-col {
  min-width: 0;
}

.cz-book .form-brontura input[type="text"],
.cz-book .form-brontura input[type="tel"],
.cz-book .form-brontura input[type="email"],
.cz-book .form-brontura textarea,
.cz-book .form-brontura select {
  display: block;
  width: 100%;
  padding: 12px 16px;
  box-sizing: border-box;
  border: 1px solid #c4c6bd;
  border-radius: 12px;
  background: #fff;
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.3;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}

.cz-book .form-brontura textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}

.cz-book .form-brontura input[type="text"]:focus,
.cz-book .form-brontura input[type="tel"]:focus,
.cz-book .form-brontura input[type="email"]:focus,
.cz-book .form-brontura textarea:focus,
.cz-book .form-brontura select:focus {
  border-color: var(--color-primary);
}

.cz-book .form-brontura input::placeholder,
.cz-book .form-brontura textarea::placeholder {
  color: #6b6f67;
}

.cz-book .form-brontura .tour-form-small-text {
  margin: 6px 2px 0;
  font-size: 14px;
  line-height: 1.35;
  color: #6b6f67;
}

.cz-book .form-brontura #more-than-6 {
  margin: 20px 0;
  padding: 18px;
  border-radius: 14px;
  background: #f7f7f4;
  border: 1px solid var(--color-border);
}

.cz-book .form-brontura #more-than-6 h3 {
  margin-top: 0;
}

.cz-book .form-brontura #note-field {
  margin-top: 14px;
}

.cz-book .form-brontura label {
  font-size: 17px;
  line-height: 1.35;
  color: var(--color-ink);
}

.cz-book .form-brontura label input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-right: 12px;
  accent-color: var(--color-primary);
  cursor: pointer;
  vertical-align: -4px;
}

.cz-book .form-brontura .radio-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 14px;
  cursor: pointer;
}

.cz-book .form-brontura .radio-wrapper input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cz-book .form-brontura .custom-radio {
  position: relative;
  display: inline-flex;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  border: 2px solid #cfcfc8;
  border-radius: 50%;
  box-sizing: border-box;
  background: #fff;
}

.cz-book .form-brontura .radio-wrapper input[type="radio"]:checked + .custom-radio {
  border-color: var(--color-primary);
}

.cz-book .form-brontura .radio-wrapper input[type="radio"]:checked + .custom-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--color-primary);
}

.cz-book .form-brontura .radio-wrapper input[type="radio"]:focus-visible + .custom-radio {
  box-shadow: 0 0 0 3px var(--color-primary-shade);
}

.cz-book .form-brontura .form-row-contacts {
  margin-bottom: 26px;
}

.cz-book .form-brontura p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #161410;
}

.cz-book .form-brontura a {
  color: #2f6ad9;
  text-decoration: none;
}

.cz-book .form-brontura a:hover {
  text-decoration: underline;
}

.cz-book .form-brontura button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 26px;
  padding: 14px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.cz-book .form-brontura button[type="submit"]:hover {
  background: var(--color-primary-hover);
}

.cz-book .form-brontura button[type="submit"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--color-primary-shade);
}

.cz-book .form-brontura button[type="submit"]:active {
  transform: translateY(1px);
}

.cz-book .form-brontura button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.cz-book .form-brontura .error-field {
  border-color: #d93025 !important;
  box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.12) !important;
}

@media (min-width: 600px) {
  .cz-book .form-title {
    font-size: 32px;
  }
  .cz-book .form-subtitle {
    font-size: 19px;
  }
  .cz-book .form-brontura .cz-bookfields {
    max-width: 720px;
    margin: 0 auto;
    padding: 34px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
  }
  .cz-book .form-brontura .tourist-title {
    font-size: 21px;
  }
  .cz-book .form-brontura h3 {
    font-size: 19px;
  }
  .cz-book .form-brontura .form-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cz-book .form-brontura .tourist-info .form-row:nth-of-type(2) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cz-book .form-brontura .tourist-info .form-row:nth-of-type(2) .tour-form-col:nth-child(2) {
    grid-column: span 2;
  }
  .cz-book .form-brontura .form-row-contacts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .cz-book .form-title {
    font-size: 38px;
  }
  .cz-book .form-brontura .cz-bookfields {
    padding: 44px 48px;
  }
}

/* --- Свое: чего нет в форме тура --- */

/* Секция под колонками страницы рейса. Шрифт и межстрочный интервал — как на странице тура
   (раздел круизов задает свои: .cz). */
.cz-book {
  margin-top: 56px;
  scroll-margin-top: 100px;
  font-family: 'Onest', sans-serif;
  line-height: 1.6;
}

/* Общее правило раздела «.cz p» добавляет абзацам отступ снизу; в описании каюты его нет, как в туре. */
.cz-book .sub-info p {
  margin-bottom: 0;
}

/* Блоки скрыты атрибутом hidden, пока до них не дошел шаг (в туре это делает style="display:none"). */
.cz-book [hidden] {
  display: none !important;
}

/* Дата рейса в форме — одна мелкая серая строка по центру под заголовком: дата уже есть вверху страницы. */
.cz-book .cz-bookdate {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 6px;
  margin: 12px 0 0;
  color: #8d8d8d;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

/* На телефоне две строки: даты и «N дней · другие даты»; точка между ними нужна только в одну строку. */
.cz-book .cz-bookdate__when {
  flex: 0 0 100%;
}

.cz-book .cz-bookdate__when span,
.cz-book .cz-bookdate__rest {
  white-space: nowrap;
}

.cz-book .cz-bookdate__dot {
  display: none;
}

@media (min-width: 700px) {
  .cz-book .cz-bookdate__when {
    flex: 0 1 auto;
  }

  .cz-book .cz-bookdate__dot {
    display: inline;
  }
}

.cz-book .cz-bookdate a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cz-book .cz-bookdate a:hover {
  color: #16140f;
}

.cz-book .cz-bookcabins {
  margin-top: 32px;
}

/* Строка цены нажимается целиком. */
.cz-book .price-row[data-cz-book-pick] {
  cursor: pointer;
}

/* Подсказка о размещении: вид как у подсказки тура про одноместное размещение. */
.cz-book .cz-bookhint {
  padding: 20px;
  border: 2px dashed #ccc;
  background: #f9f9f9;
}

.cz-book .cz-booktourists {
  margin-top: 30px;
}

.cz-book .form-brontura .cz-form__message {
  margin: 14px 0 0;
  text-align: center;
}

/* Блок «Вы уже оставили заявку» (cruises-site.js) — той же ширины, что карточки формы. */
.cz-book .cz-sent {
  max-width: 720px;
  margin: 24px auto 0;
}

/* Под формой сразу подвал сайта: нижний отступ дает секция, а не форма (в туре ниже идут другие блоки). */
.cz-book {
  padding-bottom: 64px;
}

.cz-book .form-brontura {
  margin-bottom: 0;
}
