/**
 * Раздел «Круизы» на сайте (cruises-site.php): список рейсов с поиском и
 * страница рейса. Подключается только на /kruizy/…
 *
 * Всё своё — под `.cz` и с приставкой `cz-`, чтобы не задеть тему. Шапка,
 * подвал, контейнер и «хлебные крошки» — темы. Токены — как у темы season:
 * Onest, #E86B18, карточки 20px, «таблетки» 14px. Mobile-first: 700 / 900 / 1150.
 */

.cz {
  --cz-primary: #e86b18;
  --cz-primary-hover: #cf5f14;
  --cz-tint: #fdf2e9;
  --cz-tint-text: #a24a0e;
  --cz-text: #222;
  --cz-ink: #16140f;
  --cz-soft: #464a42;
  --cz-faded: #9aa096;
  --cz-muted: #8d8d8d;
  --cz-line: #e7e7e1;
  --cz-bg: #f3f3f3;
  --cz-pill: #f5f6f7;
  --cz-green: #2f7d4a;
  --cz-radius: 20px;

  color: var(--cz-text);
  font-family: Onest, system-ui, sans-serif;
  line-height: 1.55;
}

.cz *,
.cz *::before,
.cz *::after {
  box-sizing: border-box;
}

.cz img {
  display: block;
  max-width: 100%;
}

.cz h1,
.cz h2,
.cz h3 {
  margin: 0;
  color: var(--cz-ink);
}

.cz p {
  margin: 0 0 10px;
}

.cz-muted {
  color: var(--cz-muted);
}

/* ---------- Кнопки, метки ---------- */

.cz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: 600 16px/1.2 Onest, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.cz-btn--primary {
  background: var(--cz-primary);
  color: #fff;
}

.cz-btn--primary:hover {
  background: var(--cz-primary-hover);
  color: #fff;
}

.cz-btn--outline {
  border-color: var(--cz-primary);
  background: #fff;
  color: var(--cz-primary);
}

.cz-btn--outline:hover {
  background: var(--cz-tint);
}

.cz-btn--wide {
  width: 100%;
}

.cz-btn[disabled] {
  cursor: progress;
  opacity: 0.6;
}

.cz-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cz-primary);
  font: 500 15px Onest, sans-serif;
  cursor: pointer;
}

.cz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.cz-chip {
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--cz-tint);
  color: var(--cz-tint-text);
  font-size: 13px;
}

.cz-chip--plain {
  background: var(--cz-pill);
  color: var(--cz-soft);
}

.cz-card {
  padding: 20px;
  border-radius: var(--cz-radius);
  background: #fff;
}

.cz-empty {
  margin: 20px 0 0;
  color: var(--cz-soft);
}

.cz-loading {
  color: var(--cz-muted);
}

.cz-kicker {
  margin: 0 0 6px;
  color: var(--cz-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cz .cz-h1 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
}

.cz-block {
  margin-top: 44px;
}

.cz .cz-block__title {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}

.cz-block__lead {
  color: var(--cz-soft);
}

.cz-text p:last-child {
  margin-bottom: 0;
}

.cz-text ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

/* ===== Текст под рейсами и «Частые вопросы» — как в категориях туров (taxonomy-tourcat.css темы) =====
   Рамка и раскладка разделов — от категорий туров; текст, заголовки и ссылки — как в разделе
   «Погода» (.pg-text-sec в pogoda.css): так же оформлены и категории туров (Иван, 14.11.2026). */

.cz-opis-wrap,
.cz-faqs {
  line-height: 1.6;
}

.cz-opis-wrap {
  margin: 60px 0;
  padding: 20px;
  border: 2px solid #ececec;
  border-radius: 24px;
  background: #fff;
}

.cz-opis {
  grid-template-columns: 1fr;
  gap: 20px;
}

.cz-opis__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cz .cz-opis__title {
  margin: 20px 0 0;
  color: #000;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cz-opis__text {
  color: #16140f;
  font-size: 16px;
  line-height: 1.65;
}

.cz-opis__text p {
  margin: 0 0 14px;
}

/* Списки — общие стили сайта (style.css темы); ссылки оранжевые, как в «Погоде». */
.cz-opis__text a {
  color: #e86b18;
}

.cz-opis__right {
  text-align: right;
}

.cz-opis__right:empty,
.cz-opis--noimg .cz-opis__right {
  display: none;
}

.cz-opis__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cz-faqs {
  max-width: 800px;
  margin: 120px auto;
  padding: 0 16px;
}

.cz .cz-faqs h2 {
  margin: 0 0 24px;
  color: #222;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 900px) and (max-width: 1199px) {
  .cz-opis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 140px;
    align-items: start;
    margin-bottom: 80px;
  }

  .cz-opis--noimg {
    grid-template-columns: 1fr;
  }

  .cz .cz-opis__title {
    margin: 0;
  }
}

@media (min-width: 1200px) {
  .cz-opis-wrap {
    max-width: 960px;
    margin: 40px auto 80px;
    padding: 40px;
  }

  .cz-opis {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
  }

  .cz-opis--noimg {
    grid-template-columns: 1fr;
  }

  .cz .cz-opis__title {
    margin: 0;
    font-size: 28px;
  }

  .cz-opis__img {
    border-radius: 16px;
  }

  .cz .cz-faqs h2 {
    font-size: 34px;
  }
}

/* ================= Список рейсов ================= */

.cz-intro {
  max-width: 900px;
}

.cz-intro__lead {
  margin: 12px 0 14px;
  color: var(--cz-soft);
  font-size: 17px;
}

.cz-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.cz-facts span {
  padding: 6px 12px;
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
}

/* Города отправления (только на «Круизах»). */
.cz-origins {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

/* Буквы-иконки города убраны (Иван, 14.11.2026): в карточке название, число рейсов и стрелка. */
.cz-origin {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 10px 16px 20px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--cz-radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.cz-origin:hover {
  border-color: var(--cz-primary);
  box-shadow: 0 0 0 1px var(--cz-primary) inset;
}

.cz-origin__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cz-origin__body b {
  font-size: 17px;
  font-weight: 600;
}

.cz-origin__body span {
  color: var(--cz-soft);
  font-size: 14px;
}

.cz-origin__go {
  margin-left: auto;
  padding-right: 10px;
  color: var(--cz-primary);
  font-size: 22px;
}

/* Популярные направления — быстрые фильтры. */
.cz-popular {
  margin-top: 28px;
}

.cz .cz-popular__title {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.cz-popular__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cz-pop {
  padding: 8px 14px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  background: #fff;
  color: var(--cz-text);
  font: 500 15px Onest, sans-serif;
  cursor: pointer;
}

.cz-pop span {
  margin-left: 4px;
  color: var(--cz-muted);
  font-weight: 400;
}

.cz-pop:hover {
  border-color: var(--cz-primary);
  background: var(--cz-tint);
}

.cz-pop.is-on {
  border-color: var(--cz-primary);
  background: var(--cz-tint);
  color: var(--cz-tint-text);
}

/* ---------- Фильтр: панель слева, как в каталоге туров, но своя (только круизы) ---------- */

.cz-catalog {
  margin-top: 24px;
}

.cz-catalog__main {
  min-width: 0;
}

.cz-finder__open {
  width: 100%;
}

.cz-finder__open b {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--cz-primary);
  color: #fff;
  font-size: 13px;
}

.cz-finder__open b:empty {
  display: none;
}

.cz-finder__panel {
  display: none;
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  background: #fff;
}

.cz-finder.is-open .cz-finder__panel {
  display: block;
}

/* Группа: заголовок со стрелкой, под ним галочки. */
.cz-fg + .cz-fg {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cz-fg__sum {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  color: var(--cz-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  list-style: none;
  cursor: pointer;
}

.cz-fg__sum::-webkit-details-marker {
  display: none;
}

.cz-fg__sum::after {
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 1.5px solid var(--cz-soft);
  border-bottom: 1.5px solid var(--cz-soft);
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.cz-fg[open] > .cz-fg__sum::after {
  transform: translateY(2px) rotate(-135deg);
}

.cz-fg__body {
  display: grid;
  gap: 12px;
  padding: 0 16px 18px;
}

.cz-ck {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 15px;
  line-height: 20px;
  cursor: pointer;
}

.cz-ck[hidden] {
  display: none;
}

.cz-ck input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--cz-primary);
}

.cz-ck span {
  min-width: 0;
}

.cz-ck small {
  margin-left: auto;
  color: var(--cz-muted);
  font-size: 13px;
}

.cz-fg__all {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cz-primary);
  font: 500 14px Onest, sans-serif;
  cursor: pointer;
}

.cz-fl {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0;
}

.cz-fl > span {
  color: var(--cz-soft);
  font-size: 14px;
}

.cz-fl--range b {
  color: var(--cz-text);
  font-weight: 600;
}

.cz-fl--range input {
  width: 100%;
  accent-color: var(--cz-primary);
}

/* Поле «Даты» — как в фильтре туров; календарь — общий, из темы (season-date-picker). */
.cz-date {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.cz-date:hover,
.cz-date:focus-within,
.cz-date.is-open {
  border-color: var(--cz-primary);
}

.cz-date__ico {
  display: flex;
  flex: none;
  color: #9e9e9e;
}

/* Выбран период — текст длинный: иконку убираем, справа — крестик. */
.cz-date.has-value {
  gap: 6px;
  padding-right: 10px;
}

.cz-date.has-value .cz-date__ico {
  display: none;
}

.cz-date__field {
  flex: 1;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cz-text);
  font: inherit;
  font-size: 15px;
  line-height: 20px;
  cursor: pointer;
}

.cz-date__field:focus {
  outline: none;
}

.cz-date__field::placeholder {
  color: #9e9e9e;
}

.cz-date__clear {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: -2px -4px -2px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f2f2;
  color: #666;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.cz-date__clear[hidden] {
  display: none;
}

.cz-date__clear:hover,
.cz-date__clear:focus-visible {
  background: #e9e9e9;
  color: #222;
}

.cz-finder__foot {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cz-finder__reset {
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #f6f6f6;
  color: var(--cz-text);
  font: 500 15px Onest, sans-serif;
  cursor: pointer;
}

.cz-finder__reset:hover {
  background: #eee;
}

/* ---------- Над списком ---------- */

.cz-results__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin: 28px 0 14px;
}

.cz-results__count {
  margin: 0;
  font-size: 17px;
}

.cz-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 12px;
  background: #fff;
}

.cz-seg button {
  padding: 7px 14px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--cz-soft);
  font: 500 14px Onest, sans-serif;
  cursor: pointer;
}

.cz-seg button.is-on {
  background: var(--cz-tint);
  color: var(--cz-tint-text);
}

.cz-results__sort {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 0 auto;
  color: var(--cz-soft);
  font-size: 14px;
}

.cz-results__sort select {
  height: 38px;
  padding: 0 10px;
  border: 1px solid #d9d9d4;
  border-radius: 10px;
  background: #fff;
  font: 500 14px Onest, sans-serif;
}

.cz-results {
  display: grid;
  gap: 16px;
}

/* Страницы списка — вид как у каталога туров, классы свои. */
.cz-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 36px 0 8px;
}

.cz-pages[hidden] {
  display: none;
}

.cz-pages__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 50px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font: 400 16px Onest, sans-serif;
  cursor: pointer;
}

button.cz-pages__n:hover {
  background: #e7e9ee;
}

.cz-pages__n.is-on {
  background: #1f2937;
  color: #fff;
  font-weight: 600;
  cursor: default;
}

.cz-pages__n--dots {
  background: none;
  cursor: default;
}

.cz-pages__n--step {
  padding: 0 18px;
  font-size: 20px;
}

/* ---------- Карточка рейса: горизонтальная, как принято у круизов ---------- */

.cz-tc {
  display: grid;
  overflow: hidden;
  border-radius: var(--cz-radius);
  background: #fff;
}

.cz-tc__photo {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #dde3e8;
}

.cz-tc__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cz-tc__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cz-tc__badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--cz-text);
  font-size: 13px;
  font-weight: 500;
}

.cz-tc__badge--hot {
  background: var(--cz-primary);
  color: #fff;
}

.cz-tc__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 18px 20px 6px;
}

.cz-tc__head {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
}

.cz-tc__name {
  color: var(--cz-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.cz-tc__name:hover {
  color: var(--cz-primary);
}

.cz-tc__when {
  color: var(--cz-muted);
  font-size: 14px;
}

.cz .cz-tc__line {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 0;
  font-weight: 500;
}

.cz .cz-tc__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  color: var(--cz-soft);
  font-size: 15px;
}

.cz-tc__facts span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.cz-tc__facts b {
  color: var(--cz-text);
  font-weight: 600;
}

.cz-ico {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cz-muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.cz-tc .cz-chips {
  margin: 0;
}

.cz-tc__side {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 18px;
}

.cz .cz-tc__rooms {
  width: 100%;
  margin: 0;
  color: var(--cz-green);
  font-size: 14px;
  font-weight: 500;
}

.cz .cz-tc__rooms--few {
  color: var(--cz-primary);
}

.cz .cz-tc__rooms--none {
  color: var(--cz-muted);
}

.cz .cz-tc__price {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
}

.cz-tc__price small {
  color: var(--cz-soft);
  font-size: 14px;
  font-weight: 400;
}

.cz .cz-tc__stops {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  align-items: center;
  margin: 0;
  padding: 12px 20px;
  background: #f8f7f4;
  color: var(--cz-soft);
  font-size: 14px;
}

.cz-tc__stops b {
  margin-right: 10px;
  color: var(--cz-text);
  font-weight: 600;
}

.cz-tc__stops span + span::before {
  margin: 0 8px;
  color: var(--cz-faded);
  content: "·";
}

/* ---------- Таблица ---------- */

.cz-results.is-table {
  gap: 0;
  overflow: hidden;
  border-radius: var(--cz-radius);
  background: #fff;
}

.cz-tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--cz-line);
  color: inherit;
  text-decoration: none;
}

.cz-tr:hover {
  background: var(--cz-pill);
}

.cz-tr__date b {
  display: block;
}

.cz-tr__date small,
.cz-tr__name small {
  color: var(--cz-muted);
  font-size: 13px;
}

.cz-tr__name {
  grid-column: 1 / -1;
}

.cz-tr__name b {
  font-weight: 500;
}

.cz-tr__ship,
.cz-tr__days,
.cz-tr__rooms,
.cz-tr__go {
  display: none;
  color: var(--cz-soft);
  font-size: 14px;
}

.cz-tr__price {
  grid-row: 1;
  grid-column: 2;
  font-weight: 600;
  white-space: nowrap;
}

.cz-tr--head {
  display: none;
}

/* ================= Страница рейса ================= */

.cz-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.cz-hero__media {
  overflow: hidden;
  border-radius: var(--cz-radius);
  background: #dde3e8;
  aspect-ratio: 4 / 3;
}

.cz-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cz .cz-hero__dates {
  margin: 8px 0 16px;
  font-size: 20px;
  font-weight: 600;
}

.cz-dl {
  margin: 0 0 14px;
}

.cz-dl div {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--cz-line);
}

.cz-dl dt {
  flex: none;
  min-width: 112px;
  color: var(--cz-muted);
}

.cz-dl dd {
  margin: 0;
  font-weight: 500;
}

.cz .cz-hero__price {
  margin: 6px 0 16px;
  font-size: 32px;
  font-weight: 600;
}

.cz-hero__price small {
  color: var(--cz-soft);
  font-size: 15px;
  font-weight: 400;
}

.cz .cz-hero__more {
  margin: 12px 0 0;
  font-size: 14px;
  text-align: center;
}

.cz-hero__more a {
  color: var(--cz-soft);
}

.cz-quicknav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  gap: 8px;
  margin: 24px 0 0;
  padding: 10px;
  overflow-x: auto;
  border-radius: var(--cz-radius);
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.cz-quicknav a {
  padding: 8px 14px;
  border-radius: 14px;
  background: var(--cz-pill);
  color: var(--cz-text);
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.cz-quicknav a:hover {
  background: var(--cz-tint);
}

.cz-trip [id] {
  scroll-margin-top: 90px;
}

.cz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

/* Программа */
.cz-days {
  padding-top: 4px;
  padding-bottom: 4px;
}

.cz-day {
  padding: 20px 0;
  border-bottom: 1px solid var(--cz-line);
}

.cz-day:last-child {
  border-bottom: 0;
}

.cz .cz-day__when {
  margin-bottom: 8px;
  color: var(--cz-muted);
  font-size: 14px;
}

.cz-day__when b {
  color: var(--cz-primary);
}

.cz .cz-day__stop {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}

.cz-time {
  margin-right: 8px;
  color: var(--cz-muted);
  font-weight: 500;
}

.cz-time:empty {
  display: none;
}

.cz-day__about {
  margin-bottom: 12px;
  color: var(--cz-soft);
}

.cz-day__about p:last-child {
  margin-bottom: 0;
}

/* Экскурсии стоянки, входящие в стоимость (данные перевозчика): название и длительность,
   описание раскрывается по нажатию. */
.cz-exc {
  margin: 4px 0 14px;
}

.cz-exc[hidden] {
  display: none;
}

.cz .cz-exc__title {
  margin: 0 0 8px;
  color: var(--cz-soft);
  font-size: 14px;
  font-weight: 600;
}

.cz-exc__item {
  margin-bottom: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #fff;
}

.cz-exc__item > summary,
.cz-exc__head {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  padding: 10px 14px;
  list-style: none;
}

.cz-exc__item > summary {
  cursor: pointer;
}

.cz-exc__item > summary::-webkit-details-marker {
  display: none;
}

.cz-exc__item > summary::after {
  flex: none;
  align-self: center;
  width: 7px;
  height: 7px;
  margin: 0 2px 2px 4px;
  border-right: 1.5px solid var(--cz-soft);
  border-bottom: 1.5px solid var(--cz-soft);
  content: "";
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.cz-exc__item[open] > summary::after {
  margin-bottom: -4px;
  transform: rotate(-135deg);
}

.cz-exc__var {
  flex: none;
  width: 78px;
  color: var(--cz-tint-text);
  font-size: 13px;
  font-weight: 600;
}

.cz-exc__item b {
  flex: 1 1 200px;
  font-weight: 500;
}

.cz-exc__time {
  flex: none;
  color: var(--cz-muted);
  font-size: 14px;
  white-space: nowrap;
}

.cz-exc__text {
  padding: 0 14px 12px;
  color: var(--cz-soft);
  font-size: 15px;
}

.cz-exc__text p:last-child {
  margin-bottom: 0;
}

.cz .cz-exc__group {
  margin-top: 6px;
  color: var(--cz-muted);
  font-size: 14px;
}

/* Фото дня — под текстом, 3–5 штук (Иван, 01.11). На телефоне по 2 в ряд,
   при нечётном числе первое во всю ширину. */
.cz-day__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

/* Фото — ссылка на окно просмотра (как в турах): ячейка сетки — сама ссылка. */
.cz-day__media > a,
.cz-day__media > span {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
}

.cz-day__media > a {
  cursor: zoom-in;
}

.cz-day__media img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.cz-day__media--1 > :first-child,
.cz-day__media--3 > :first-child,
.cz-day__media--5 > :first-child {
  grid-column: 1 / -1;
}

.cz-day__media--1 > :first-child img,
.cz-day__media--3 > :first-child img,
.cz-day__media--5 > :first-child img {
  aspect-ratio: 16 / 9;
}

/* Каюты */
.cz-cabins {
  display: grid;
  gap: 16px;
}

.cz-cabin {
  display: grid;
  overflow: hidden;
  border-radius: var(--cz-radius);
  background: #fff;
}

.cz-cabin__photo {
  width: 100%;
  background: #e8e8e8;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.cz-cabin__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
}

.cz .cz-cabin__name {
  font-size: 18px;
  font-weight: 600;
}

.cz-cabin__decks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cz-deck {
  padding: 5px 10px;
  border: 1px solid var(--cz-line);
  border-radius: 10px;
  background: #fff;
  color: var(--cz-text);
  font: 500 13px Onest, sans-serif;
  cursor: pointer;
}

.cz-deck.is-on {
  border-color: var(--cz-primary);
  background: var(--cz-tint);
  color: var(--cz-tint-text);
}

.cz .cz-cabin__about {
  margin: 0;
  color: var(--cz-soft);
  font-size: 14px;
}

.cz-prices {
  margin: 4px 0 8px;
}

.cz-prices div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--cz-line);
}

.cz-prices dt {
  color: var(--cz-soft);
  font-size: 14px;
}

.cz-prices dd {
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}

.cz-prices .cz-prices__soft dd {
  color: var(--cz-soft);
  font-weight: 500;
}

.cz-cabin .cz-btn {
  margin-top: auto;
}

.cz-cabin__free {
  color: var(--cz-muted);
  font-size: 13px;
}

/* Что включено */
.cz-incl {
  display: grid;
  gap: 20px;
}

.cz .cz-incl h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.cz-incl ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cz-incl li {
  position: relative;
  padding: 5px 0 5px 26px;
}

.cz-incl__yes li::before {
  position: absolute;
  left: 0;
  color: var(--cz-green);
  content: "✓";
  font-weight: 700;
}

.cz-incl__no li::before {
  position: absolute;
  left: 2px;
  color: var(--cz-muted);
  content: "–";
}

/* Другие даты */
/* «Другие даты»: список свернут, раскрывается кнопкой. */
.cz-more__sum {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 12px 20px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--cz-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.cz-more__sum::-webkit-details-marker {
  display: none;
}

.cz-more__sum::after {
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.cz-more__sum:hover {
  border-color: var(--cz-primary);
  color: var(--cz-primary);
}

.cz-more[open] > .cz-more__sum {
  margin-bottom: 16px;
}

.cz-more[open] > .cz-more__sum::after {
  transform: translateY(2px) rotate(-135deg);
}

.cz-more__hide,
.cz-more[open] > .cz-more__sum .cz-more__show {
  display: none;
}

.cz-more[open] > .cz-more__sum .cz-more__hide {
  display: inline;
}

.cz-dates {
  padding-top: 6px;
}

.cz .cz-dates__month {
  margin: 16px 0 6px;
  color: var(--cz-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cz-dates__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}

.cz-dates__row:hover {
  background: var(--cz-pill);
}

.cz-dates__row.is-current {
  background: var(--cz-tint);
}

.cz-dates__d {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.cz-dates__d small {
  color: var(--cz-muted);
}

.cz-dates__ship {
  color: var(--cz-soft);
  font-size: 14px;
}

.cz-dates__rooms,
.cz-dates__go {
  display: none;
  color: var(--cz-soft);
  font-size: 14px;
}

.cz-dates__price {
  grid-row: 1;
  grid-column: 2;
  font-weight: 600;
  white-space: nowrap;
}

/* Форма заявки */
.cz-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cz .cz-form__lead {
  margin: 0;
  color: var(--cz-soft);
}

.cz-form__grid {
  display: grid;
  gap: 14px;
}

.cz-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.cz-field input,
.cz-field select,
.cz-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d9d9d4;
  border-radius: 12px;
  background: #fff;
  color: var(--cz-text);
  font: 400 15px Onest, sans-serif;
}

.cz-field textarea {
  resize: vertical;
}

.cz-field input:focus,
.cz-field select:focus,
.cz-field textarea:focus {
  border-color: var(--cz-primary);
  outline: none;
}

.cz-field.is-error input {
  border-color: #c0392b;
}

.cz-people {
  display: grid;
  gap: 10px;
}

.cz-step {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid var(--cz-line);
  border-radius: 12px;
  font-weight: 400;
}

.cz-step span {
  flex: 1;
}

.cz-step button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--cz-line);
  border-radius: 10px;
  background: #fff;
  color: var(--cz-text);
  font-size: 18px;
  cursor: pointer;
}

.cz-step b {
  min-width: 20px;
  text-align: center;
}

.cz .cz-form__total {
  margin: 0;
  font-size: 17px;
}

.cz-form__total small {
  color: var(--cz-muted);
  font-size: 13px;
}

.cz-form__submit {
  align-self: flex-start;
}

.cz .cz-form__policy {
  margin: 0;
  color: var(--cz-muted);
  font-size: 13px;
}

.cz-form__policy a {
  color: inherit;
}

.cz .cz-form__message {
  margin: 0;
  font-weight: 500;
}

.cz-form__message:empty {
  display: none;
}

.cz-form__message.is-ok {
  color: var(--cz-green);
}

.cz-form__message.is-error {
  color: #c0392b;
}

/* Ловушка для ботов — людям не видна. */
.cz-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Вопросы */
.cz-faq {
  display: grid;
  gap: 12px;
}

.cz-faq details {
  padding: 16px 20px;
  border: 1px solid #ddd;
  border-radius: 14px;
  background: #fff;
}

.cz-faq summary {
  font-weight: 600;
  cursor: pointer;
}

.cz-faq p {
  margin: 10px 0 0;
  color: var(--cz-soft);
}

/* Правая колонка и нижняя полоса */
.cz-side {
  display: none;
}

/* Блок цены сбоку — размеры и шрифты как у такого же блока на странице тура;
   фон у круизов белый, поэтому выделен рамкой (Иван, 14.11.2026). */
.cz-side__card {
  position: sticky;
  top: 92px;
  padding: 24px 24px 22px;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.cz .cz-side__title {
  margin: 0 0 6px;
  color: #111;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

.cz .cz-side__dates {
  color: var(--cz-muted);
  font-size: 14px;
}

.cz .cz-side__price {
  margin: 12px 0 14px;
  color: #111;
  font-size: 26px;
  font-weight: 500;
}

.cz-side__price small {
  color: var(--cz-soft);
  font-size: 14px;
  font-weight: 400;
}

.cz .cz-side__rooms {
  margin: 10px 0 0;
  color: var(--cz-soft);
  font-size: 14px;
  text-align: center;
}

.cz-mbar {
  position: sticky;
  z-index: 25;
  bottom: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 24px -20px 0;
  padding: 10px 16px;
  background: #fff;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  font-size: 18px;
  font-weight: 600;
}

.cz-mbar small {
  color: var(--cz-soft);
  font-size: 13px;
  font-weight: 400;
}

/* ================= Брейкпоинты ================= */

@media (min-width: 700px) {
  /* Фото дня одним рядом; пять — большое слева и четыре сеткой. */
  .cz-day__media--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cz-day__media--4,
  .cz-day__media--5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cz-day__media--3 > :first-child,
  .cz-day__media--1 > :first-child {
    grid-column: auto;
  }

  .cz-day__media--3 > :first-child img,
  .cz-day__media--1 > :first-child img {
    aspect-ratio: 3 / 2;
  }

  .cz-day__media--5 > :first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .cz-day__media--5 > :first-child img {
    aspect-ratio: auto;
  }

  .cz-origins {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cz-tc {
    grid-template-columns: 260px minmax(0, 1fr);
    grid-template-areas: "photo body" "photo side" "photo stops";
  }

  .cz-tc__photo {
    grid-area: photo;
    min-height: 220px;
    aspect-ratio: auto;
  }

  .cz-tc__photo img {
    position: absolute;
    inset: 0;
  }

  .cz-tc__body {
    grid-area: body;
  }

  .cz-tc__side {
    grid-area: side;
  }

  .cz .cz-tc__stops {
    grid-area: stops;
  }

  .cz-tr {
    grid-template-columns: 170px minmax(0, 1fr) 150px 70px 100px 110px 24px;
  }

  .cz-tr__name {
    grid-column: auto;
  }

  .cz-tr__price {
    grid-row: auto;
    grid-column: auto;
    text-align: right;
  }

  .cz-tr__ship,
  .cz-tr__days,
  .cz-tr__rooms,
  .cz-tr__go {
    display: block;
  }

  .cz-tr__go {
    color: var(--cz-primary);
    text-align: right;
  }

  .cz-tr--head {
    display: grid;
    padding-top: 14px;
    padding-bottom: 10px;
    color: var(--cz-muted);
    font-size: 13px;
  }

  .cz-tr--head:hover {
    background: none;
  }

  .cz-cabins {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cz-form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cz-field--wide {
    grid-column: 1 / -1;
  }

  .cz-people {
    grid-template-columns: repeat(3, 1fr);
  }

  .cz-dates__row {
    grid-template-columns: 230px minmax(0, 1fr) 100px 120px 90px;
  }

  .cz-dates__price {
    grid-row: auto;
    grid-column: auto;
  }

  .cz-dates__rooms,
  .cz-dates__go {
    display: block;
  }

  .cz-dates__go {
    color: var(--cz-primary);
    text-align: right;
  }

  .cz-dates__row.is-current .cz-dates__go {
    color: var(--cz-tint-text);
  }
}

@media (min-width: 900px) {
  .cz .cz-h1 {
    font-size: 40px;
  }

  .cz .cz-block__title {
    font-size: 34px;
  }

  /* Панель фильтра слева, список справа. Карточка в колонке — фото и текст,
     цена с кнопкой под текстом; три колонки — с 1150px (ниже). */
  .cz-catalog {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .cz-finder__open,
  .cz-finder__show {
    display: none;
  }

  .cz-finder__panel {
    display: block;
    margin-top: 0;
  }

  .cz-finder__foot:has(.cz-finder__reset[hidden]) {
    display: none;
  }

  .cz-catalog .cz-results__bar {
    margin-top: 0;
  }

  .cz-tc {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .cz-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 40px;
  }

  .cz-incl {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .cz-mbar {
    display: none;
  }
}

@media (min-width: 1150px) {
  /* Карточка рейса в три колонки, уже прежней: рядом стоит панель фильтра. */
  .cz-catalog {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
  }

  .cz-tc {
    grid-template-columns: 230px minmax(0, 1fr) 196px;
    grid-template-areas: "photo body side" "photo stops stops";
  }

  .cz-tc__body {
    padding: 18px 18px 18px;
  }

  .cz-tc__side {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    padding: 18px 16px;
    border-left: 1px solid var(--cz-line);
  }

  .cz-tc__side .cz-btn {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  .cz .cz-tc__price {
    font-size: 22px;
  }

  .cz .cz-tc__stops {
    padding-right: 18px;
    padding-left: 18px;
  }

  .cz-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .cz-side {
    display: block;
    margin-top: 44px;
  }
}
