/* ---------- Каталог круизов ---------- */
.ct-hero { position: relative; padding: 116px 0 74px; color: #fff; background: linear-gradient(100deg, rgba(11,37,69,.94) 0%, rgba(11,37,69,.78) 55%, rgba(13,103,164,.55) 100%), var(--hero, url('/upload/banner-video/cruise-east-japan-bg-opt.jpg')) center 60% / cover; }
.ct-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.ct-crumbs a:hover { color: #fff; }
.ct-hero h1 { margin: 0 0 12px; max-width: 900px; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.ct-hero h1.is-long { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; }
.ct-hero__lead { margin: 0; max-width: 680px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.82); }
.ct-hero__lead b { color: #fff; }
.ct-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ct-chip { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); font-size: 13px; font-weight: 700; color: #fff; transition: background .2s, border-color .2s; }
.ct-chip i { font-style: normal; font-weight: 600; color: rgba(255,255,255,.6); }
.ct-chip:hover { background: rgba(255,255,255,.22); }
.ct-chip.is-active { background: #fff; color: var(--navy); border-color: #fff; }
.ct-chip.is-active i { color: var(--muted); }

.ct-main { position: relative; z-index: 2; margin-top: -36px; padding-bottom: 70px; }
.ct-layout { display: grid; grid-template-columns: 290px 1fr; gap: 24px; align-items: start; }

.ct-filter { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; }
.ct-filter__form { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.ct-filter__head { display: flex; align-items: center; justify-content: space-between; }
.ct-filter__head b { font-size: 17px; color: var(--navy); }
.ct-filter__close { display: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--bg); font-size: 22px; line-height: 1; color: var(--navy); cursor: pointer; }
.ct-field { display: flex; flex-direction: column; gap: 6px; }
.ct-field__label { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ct-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ct-range label { position: relative; display: block; }
.ct-range i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; color: var(--muted); pointer-events: none; }
.ct-range input, .ct-select { width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); font: inherit; font-size: 14px; color: var(--text); outline: 0; transition: border-color .2s, background .2s; }
.ct-range input { padding: 0 8px 0 32px; min-width: 0; }
.ct-range--dates { grid-template-columns: 1fr; }
.ct-range input[type="date"] { padding-right: 10px; font-size: 14px; }
.ct-select { padding: 0 34px 0 12px; appearance: none; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; text-overflow: ellipsis; cursor: pointer; }
.ct-range input:focus, .ct-select:focus { border-color: var(--sea); background-color: #fff; }
.ct-select.is-set, .ct-range input:not(:placeholder-shown) { border-color: rgba(13,103,164,.45); background-color: #fff; }
.ct-check { display: flex; align-items: center; gap: 10px; margin: 4px 0 8px; font-weight: 700; color: var(--navy); cursor: pointer; }
.ct-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--sea); }
.ct-filter__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.ct-filter__actions .btn { width: 100%; height: 50px; }
.ct-filter__reset { text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.ct-filter__reset:hover { color: var(--coral); }

.ct-help { padding: 20px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(19,168,158,.12), rgba(13,103,164,.1)); }
.ct-help b { display: block; font-size: 16px; color: var(--navy); }
.ct-help p { margin: 6px 0 14px; font-size: 14px; line-height: 1.5; color: var(--text); }
.ct-help__tel { display: block; margin-top: 10px; font-weight: 800; color: var(--navy); }

.ct-bar { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 12px 10px 22px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); }
.ct-bar__count { margin-right: auto; font-size: 15px; color: var(--muted); }
.ct-bar__count b { font-size: 18px; color: var(--navy); }
.ct-bar__filter { display: none; }
.ct-bar__filter i { min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--coral); color: #fff; font-style: normal; font-size: 12px; }
.ct-sort { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ct-sort select { height: 42px; padding: 0 36px 0 14px; border: 1.5px solid var(--line); border-radius: 12px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; font: inherit; font-size: 14px; font-weight: 700; color: var(--navy); cursor: pointer; outline: 0; }
.ct-sort select:focus { border-color: var(--sea); }

.ct-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.ct-active__chip { height: 34px; padding: 0 8px 0 14px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: rgba(13,103,164,.1); font-size: 13px; font-weight: 700; color: var(--sea); max-width: 100%; }
.ct-active__chip span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(13,103,164,.15); font-size: 14px; }
.ct-active__chip:hover { background: rgba(255,107,74,.12); color: var(--coral); }
.ct-active__chip:hover span { background: rgba(255,107,74,.2); }
.ct-active__reset { margin-left: 4px; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.ct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.ct-card { animation: none; }
.ct-card .card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ct-card .card__media img { display: block; }
.ct-card__logo { position: absolute; left: 12px; bottom: 12px; height: 34px; padding: 6px 10px; display: flex; align-items: center; border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: 0 4px 12px rgba(11,37,69,.15); }
.ct-card__logo img { height: 22px !important; width: auto !important; max-width: 110px; object-fit: contain; transform: none !important; }
.ct-card__cart { position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--navy); box-shadow: 0 4px 12px rgba(11,37,69,.18); cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.ct-card__cart:hover { transform: scale(1.08); color: var(--sea); }
.ct-card__cart.is-active { background: var(--teal); color: #fff; }
.ct-card .card__tags { right: 60px; }
.ct-card__meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text); }
.ct-card__meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-card.is-full .card__media img { filter: grayscale(.6); }
.ct-card .card__price b { font-size: 21px; }

.ct-promo { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; border-radius: var(--radius); color: #fff; background: radial-gradient(600px 240px at 90% 0%, rgba(19,168,158,.45), transparent 70%), linear-gradient(120deg, var(--navy), var(--sea)); box-shadow: var(--shadow); }
.ct-promo__text b { display: block; font-size: 22px; }
.ct-promo__text p { margin: 6px 0 0; color: rgba(255,255,255,.8); }
.ct-promo__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }

.ct-empty { margin-top: 20px; padding: 48px 32px; text-align: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.ct-empty b { display: block; font-size: 22px; color: var(--navy); }
.ct-empty p { max-width: 520px; margin: 10px auto 22px; color: var(--muted); line-height: 1.6; }
.ct-empty div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.ct-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 36px; }
.ct-pager__page, .ct-pager__arrow, .ct-pager__gap { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; font-weight: 800; color: var(--navy); }
.ct-pager__page, .ct-pager__arrow { background: #fff; box-shadow: var(--shadow); transition: background .2s, color .2s; }
.ct-pager__page:hover, .ct-pager__arrow:hover { color: var(--sea); }
.ct-pager__page.is-current { background: var(--navy); color: #fff; }
.ct-pager__gap { color: var(--muted); }

.ct-cartfab { position: fixed; right: 22px; bottom: 24px; z-index: 55; width: 58px; height: 58px; display: none; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.ct-cartfab.is-visible { display: grid; }
.ct-cartfab b { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--coral); font-size: 12px; }
.ct-overlay { display: none; }

@media (max-width: 1240px) {
    .ct-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .ct-main { z-index: auto; }
    .ct-layout { grid-template-columns: 1fr; }
    .ct-filter { position: fixed; inset: 0 auto 0 0; z-index: 90; width: min(360px, 88vw); max-height: none; padding: 14px; background: var(--bg); transform: translateX(-105%); transition: transform .3s ease; }
    .ct-filter__form { box-shadow: none; }
    .ct-filter__close { display: block; }
    .ct-filter__actions { position: sticky; bottom: -14px; margin: 4px -20px -20px; padding: 14px 20px 20px; background: #fff; border-radius: 0 0 var(--radius) var(--radius); }
    body.filter-open { overflow: hidden; }
    body.filter-open .ct-filter { transform: none; }
    body.filter-open .ct-overlay { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(11,37,69,.5); }
    .ct-bar__filter { display: inline-flex; gap: 8px; }
}
@media (max-width: 680px) {
    .ct-hero { padding: 96px 0 64px; }
    .ct-hero__lead { font-size: 15px; }
    .ct-hero__chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -14px; padding-right: 14px; scrollbar-width: none; }
    .ct-chip { flex: none; }
    .ct-main { padding-bottom: 50px; }
    .ct-bar { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
    .ct-bar__count { width: 100%; }
    .ct-bar__filter { flex: 1; justify-content: center; }
    .ct-sort { flex: 1.4; }
    .ct-sort span { display: none; }
    .ct-sort select { width: 100%; }
    .ct-grid { grid-template-columns: 1fr; gap: 16px; }
    .ct-promo { flex-direction: column; align-items: stretch; padding: 22px; }
    .ct-promo__actions .btn { flex: 1; }
    .ct-cartfab { bottom: 92px; right: 14px; width: 52px; height: 52px; }
}
