@media (max-width: 640px) {
    .itbs-price-card { padding: 12px; }
}
@media (min-width: 641px) {
    .itbs-price-card { padding: 16px; }
}
.itbs-tabs { position: sticky; top: calc(var(--adminbar-height, 0px) + var(--header-height, 72px) + 8px); transition: top .2s ease; z-index: 20; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border:1px solid #e2e8f0; border-radius: 999px; padding: 8px 12px; display: flex; gap: 6px; justify-content: center; box-shadow: 0 10px 30px -20px rgba(0,0,0,0.2); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.itbs-tabs::-webkit-scrollbar { display: none; }
.itbs-tabs-wrap { display:flex; justify-content:center; }
.itbs-tabs-inner { display:flex; gap:6px; }
.itbs-tabs.mobile { justify-content: flex-start; }
.itbs-tab { padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #475569; background: transparent; border: none; cursor: pointer; transition: all .15s ease; }
.itbs-tab.active { color: var(--itbs-primary); border-bottom: 2px solid var(--itbs-primary); }
.itbs-tab:hover { color: var(--itbs-primary); }
.itbs-tour-page { padding-top: calc(var(--header-height, 64px) + 24px); }
.itbs-tour-breadcrumb { scrollbar-width: none; }
.itbs-tour-breadcrumb::-webkit-scrollbar { display: none; }
.itbs-hero-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 28px; }
.itbs-hero-gallery { grid-column: 1; grid-row: 1; }
.itbs-hero-booking { grid-column: 1; grid-row: 2; }
.itbs-hero-tabs { grid-column: 1; grid-row: 3; min-width: 0; }
.itbs-hero-content { grid-column: 1; grid-row: 4; min-width: 0; }
.itbs-hero-gallery { position: relative; display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 26px; background: #fff; box-shadow: 0 26px 60px -42px rgba(15,23,42,.62); }
.itbs-gallery-item { position: relative; display: block; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 14px; background: #e2e8f0; cursor: zoom-in; }
.itbs-gallery-item:first-child { flex: 0 0 100%; aspect-ratio: 16 / 10; }
.itbs-gallery-item:not(:first-child) { flex: 1 1 calc(25% - 6px); height: 82px; }
.itbs-gallery-item picture,
.itbs-gallery-item img { display: block; width: 100%; height: 100%; }
.itbs-gallery-item img { object-fit: cover; transition: transform .45s ease, filter .25s ease; }
.itbs-gallery-item picture { position: relative; z-index: 1; }
.itbs-gallery-item::after { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(to top, rgba(15,23,42,.18), transparent 48%); pointer-events: none; transition: opacity .25s ease; }
.itbs-gallery-item:hover img { transform: scale(1.035); }
.itbs-gallery-item:hover::after { opacity: .45; }
.itbs-gallery-item:focus-visible { outline: 3px solid color-mix(in srgb,var(--itbs-primary) 42%,transparent); outline-offset: -3px; }
.itbs-gallery-more { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; color: #fff; background: rgba(15,23,42,.58); backdrop-filter: blur(3px); font-size: 18px; line-height: 1.2; font-weight: 800; text-shadow: 0 1px 10px rgba(0,0,0,.24); }
.itbs-gallery-more-desktop { display: none; }
.itbs-gallery-pills { position: absolute; z-index: 3; right: 12px; bottom: 12px; display: inline-flex; gap: 6px; }
.itbs-gallery-pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; color: #0f172a; background: rgba(255,255,255,.92); box-shadow: 0 10px 30px -18px rgba(15,23,42,.75); backdrop-filter: blur(8px); font-size: 13px; line-height: 1; font-weight: 800; cursor: pointer; transition: transform .15s, background .15s; }
.itbs-gallery-pill:hover { background: #fff; transform: translateY(-1px); }
.itbs-gallery-pill:focus-visible { outline: 2px solid var(--itbs-primary); outline-offset: 2px; }
.itbs-lb-tabs { position: absolute; z-index: 60; top: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; max-width: calc(100vw - 104px); padding: 4px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.itbs-lb-tab { appearance: none; border: 0; border-radius: 999px; padding: 8px 14px; color: rgba(255,255,255,.8); background: transparent; font-size: 14px; line-height: 1.2; font-weight: 750; white-space: nowrap; cursor: pointer; transition: background .2s ease, color .2s ease; }
.itbs-lb-tab:hover { color: #fff; }
.itbs-lb-tab.is-active { color: #0f172a; background: #fff; }
.itbs-lb-tab:focus-visible { outline: 2px solid var(--itbs-primary); outline-offset: 2px; }
.itbs-lb-tab-count { opacity: .65; font-weight: 650; }
@media (max-width: 420px) { .itbs-lb-tab { padding: 7px 10px; font-size: 12.5px; } }
/* С переключателем вкладок оставляем место сверху и снизу, чтобы он не наезжал на фото. */
.itbs-lb-has-tabs #lightbox-img,
.itbs-lb-has-tabs #lightbox-video { max-height: calc(100vh - 150px); }
#lightbox-embed { width: min(95vw, calc((100vh - 170px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
#lightbox-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Tour video: a cover with ▶ (player on click); maps with «Открыть в … Картах» */
.itbs-vgrid { display: grid; gap: 12px; }
.itbs-vgrid.is-many { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.itbs-vcard { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #0f172a radial-gradient(circle at 30% 20%, #334155, #0f172a); cursor: pointer; box-shadow: 0 10px 30px -12px rgba(15,23,42,.45); }
.itbs-vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.itbs-vcard:hover img { transform: scale(1.03); }
.itbs-vcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35)); }
.itbs-vcard-play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(255,255,255,.92); color: #0f172a; box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); transition: transform .2s; }
.itbs-vcard:hover .itbs-vcard-play { transform: scale(1.08); }
.itbs-vcard:focus-visible { outline: 3px solid #3b82f6; outline-offset: 3px; }
.itbs-vcard.is-on { cursor: default; background: #000; }
.itbs-vcard.is-on::after { display: none; }
.itbs-vcard iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.itbs-vreviews-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); gap: 12px; align-items: start; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.itbs-vreview { margin: 0; scroll-snap-align: start; }
.itbs-vreview .itbs-vcard { aspect-ratio: 4 / 5; }
.itbs-vreview figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 8px; font-size: 14px; line-height: 1.3; }
.itbs-vreview figcaption b { color: #111827; }
.itbs-maps { display: grid; gap: 14px; }
.itbs-maps.is-many { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.itbs-map-card { margin: 0; border: 1px solid #e5e7eb; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.06); }
.itbs-map-card iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; background: #f1f5f9; }
.itbs-maps:not(.is-many) .itbs-map-card iframe { aspect-ratio: 16 / 9; }
.itbs-map-card figcaption { padding: 12px 14px; border-top: 1px solid #f1f5f9; }
.itbs-map-card figcaption a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: #1d4ed8; text-decoration: none; }
.itbs-map-card figcaption a:hover { text-decoration: underline; }
@media (max-width: 640px) { .itbs-maps:not(.is-many) .itbs-map-card iframe { aspect-ratio: 4 / 3; } }
.itbs-hero-booking { overflow: clip; border: 1px solid #e2e8f0; border-radius: 26px; background: rgba(255,255,255,.96); box-shadow: 0 26px 60px -42px rgba(15,23,42,.62); }
.itbs-hero-booking-head { padding: 24px 24px 20px; border-bottom: 1px solid #e8edf3; }
.itbs-hero-title-row { display: flex; align-items: flex-start; gap: 12px; }
.itbs-hero-kicker { margin-bottom: 9px; color: var(--itbs-primary); font-size: 11px; line-height: 1.25; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.itbs-hero-title { flex: 1 1 auto; margin: 0; color: #0f172a; font-size: clamp(27px, 2.5vw, 40px); line-height: 1.04; font-weight: 900; letter-spacing: -.035em; }
.itbs-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 17px; color: #475569; font-size: 14px; line-height: 1.45; font-weight: 500; }
.itbs-hero-meta > * { display: inline-flex; align-items: center; gap: 5px; }
.itbs-hero-rating { padding: 0; border: 0; color: #d97706; background: transparent; font-weight: 800; cursor: pointer; }
.itbs-hero-rating:hover { color: #b45309; }
.itbs-hero-booking-form { position: relative; z-index: 2; background: #fff; }
.itbs-hero-booking-form > div { padding: 4px; }
@media (min-width: 1024px) {
    .itbs-hero-shell { grid-template-columns: minmax(0, 1.58fr) minmax(390px, .92fr); grid-template-rows: auto auto auto; gap: 22px; }
    .itbs-hero-gallery { display: grid; gap: 8px; height: clamp(540px, 47vw, 650px); padding: 8px; }
    .itbs-hero-gallery { grid-column: 1; grid-row: 1; }
    .itbs-hero-booking { grid-column: 2; grid-row: 1 / 4; }
    .itbs-hero-tabs { grid-column: 1; grid-row: 2; }
    .itbs-hero-content { grid-column: 1; grid-row: 3; }
    .itbs-gallery-item,
    .itbs-gallery-item:first-child,
    .itbs-gallery-item:not(:first-child) { width: auto; height: auto; min-height: 0; aspect-ratio: auto; flex: none; }
    .itbs-gallery-count-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
    .itbs-gallery-count-1 .itbs-gallery-item-0 { grid-column: 1; grid-row: 1; }
    .itbs-gallery-count-2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 1fr; }
    .itbs-gallery-count-2 .itbs-gallery-item-0 { grid-column: 1; grid-row: 1; }
    .itbs-gallery-count-2 .itbs-gallery-item-1 { grid-column: 2; grid-row: 1; }
    .itbs-gallery-count-3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
    .itbs-gallery-count-3 .itbs-gallery-item-0 { grid-column: 1; grid-row: 1 / 3; }
    .itbs-gallery-count-3 .itbs-gallery-item-1 { grid-column: 2; grid-row: 1; }
    .itbs-gallery-count-3 .itbs-gallery-item-2 { grid-column: 2; grid-row: 2; }
    .itbs-gallery-count-4 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
    .itbs-gallery-count-4 .itbs-gallery-item-0 { grid-column: 1; grid-row: 1 / 3; }
    .itbs-gallery-count-4 .itbs-gallery-item-1 { grid-column: 2; grid-row: 1; }
    .itbs-gallery-count-4 .itbs-gallery-item-2 { grid-column: 2; grid-row: 2; }
    .itbs-gallery-count-4 .itbs-gallery-item-3 { display: none; }
    .itbs-gallery-count-5 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
    .itbs-gallery-count-5 .itbs-gallery-item-0 { grid-column: 1; grid-row: 1 / 3; }
    .itbs-gallery-count-5 .itbs-gallery-item-1 { grid-column: 2; grid-row: 1; }
    .itbs-gallery-count-5 .itbs-gallery-item-2 { grid-column: 2; grid-row: 2; }
    .itbs-gallery-count-5 .itbs-gallery-item-3,
    .itbs-gallery-count-5 .itbs-gallery-item-4 { display: none; }
    .itbs-gallery-more-desktop { display: flex; }
    .itbs-gallery-more-mobile { display: none; }
    .itbs-hero-booking { position: sticky; top: calc(var(--adminbar-height, 0px) + var(--header-height, 72px) + 12px); }
    /* A form taller than the screen scrolls with the page (every theme): stuck, its lower part could not be reached. */
    html body .itbs-hero-booking.is-tall, html body .itbs-hero-shell > .itbs-hero-booking.is-tall { position: static !important; }
}
@media (max-width: 640px) {
    .itbs-hero-gallery { border-radius: 20px; }
    .itbs-gallery-item { border-radius: 11px; }
    .itbs-gallery-item:not(:first-child) { height: 68px; }
    .itbs-gallery-more { font-size: 14px; }
    .itbs-gallery-pills { right: 10px; bottom: 10px; }
    .itbs-hero-booking { border-radius: 20px; }
    .itbs-hero-booking-head { padding: 20px 18px 17px; }
    .itbs-hero-title { font-size: clamp(26px, 8.5vw, 34px); }
}
.itbs-program-copy h4 { margin: 26px 0 8px; color: #0f172a; font-size: 19px; line-height: 1.35; font-weight: 750; letter-spacing: -0.01em; }
.itbs-program-copy h4:first-child { margin-top: 0; }
.itbs-program-copy p { margin: 0 0 17px; max-width: 70ch; color: #334155; font-size: 18px; line-height: 1.72; font-weight: 500; }
.itbs-program-copy p:last-child { margin-bottom: 0; }
/* Обзор: лид-абзац, карточка выгод, призыв (класс itbs-cta) */
.itbs-program-copy #tour-desc > p:first-child { color: #0f172a; font-size: 20px; line-height: 1.6; font-weight: 650; }
.itbs-program-copy #tour-desc ul { display: grid; gap: 10px; margin: 8px 0 22px; padding: 18px 20px; list-style: none; border: 1px solid color-mix(in srgb,var(--itbs-primary) 28%,var(--itbs-paper,#fff)); border-radius: 18px; background: color-mix(in srgb,var(--itbs-primary) 7%,var(--itbs-paper,#fff)); }
.itbs-program-copy #tour-desc li { position: relative; padding-left: 32px; color: #1e293b; font-size: 17px; line-height: 1.55; font-weight: 600; }
.itbs-program-copy #tour-desc li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; background: var(--itbs-primary); color: #fff; font-size: 13px; font-weight: 800; }
.itbs-program-copy #tour-desc h4 + ul { margin-top: 4px; }
.itbs-program-copy #tour-desc p.itbs-cta { margin-top: 4px; padding: 4px 0 4px 16px; border-left: 4px solid var(--itbs-primary); color: color-mix(in srgb,var(--itbs-primary) 60%,#000); font-size: 18px; font-weight: 750; }
/* Организационные детали: абзацы и списки с маркерами */
.itbs-org-copy p { margin: 2px 0 8px; }
.itbs-org-copy p:last-child { margin-bottom: 0; }
.itbs-org-copy ul { display: grid; gap: 6px; margin: 6px 0 10px; padding: 0; list-style: none; }
.itbs-org-copy ul:last-child { margin-bottom: 0; }
.itbs-org-copy li { position: relative; padding-left: 18px; }
.itbs-org-copy li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 999px; background: var(--itbs-primary); }
.itbs-org-copy strong { color: #0f172a; font-weight: 700; }
@media (max-width: 640px) {
    .itbs-program-copy #tour-desc > p:first-child { font-size: 18px; }
    .itbs-program-copy #tour-desc ul { padding: 14px 16px; }
    .itbs-program-copy #tour-desc li { font-size: 16px; }
    .itbs-program-copy #tour-desc p.itbs-cta { font-size: 17px; }
}
#desc-gradient { display: none !important; }
#desc-toggle { appearance: none; border: 0; border-radius: 10px; background: transparent; padding: 8px 4px; font-size: 16px; line-height: 1.4; }
#desc-toggle:focus-visible { outline: 3px solid rgba(37,99,235,.25); outline-offset: 2px; }
.itbs-timeline { position: relative; padding-left: 34px; margin-left: 4px; }
.itbs-timeline::before { content: ""; position: absolute; left: 10px; top: 9px; bottom: 12px; width: 2px; background: color-mix(in srgb,var(--itbs-primary) 18%,transparent); border-radius: 999px; }
.itbs-timeline-item { position: relative; padding: 0 0 30px 18px; border-bottom: 1px solid #e8edf3; }
.itbs-timeline-item + .itbs-timeline-item { padding-top: 30px; }
.itbs-timeline-item:last-child { padding-bottom: 0; border-bottom: 0; }
.itbs-timeline-dot { position: absolute; left: -30px; top: 9px; width: 14px; height: 14px; background: #fff; border: 4px solid var(--itbs-primary); border-radius: 999px; box-shadow: 0 0 0 7px color-mix(in srgb,var(--itbs-primary) 12%,transparent); }
.itbs-timeline-item + .itbs-timeline-item .itbs-timeline-dot { top: 39px; }
.itbs-timeline-time { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; background: #fff; border: 1px solid #dbe3ec; color: #334155; border-radius: 999px; font-weight: 700; font-size: 13px; line-height: 1; }
.itbs-timeline-time svg { width: 14px; height: 14px; color: var(--itbs-primary); }
.itbs-timeline-body { margin-top: 14px; }
.itbs-timeline-body.has-image { display: flow-root; }
.itbs-timeline-copy h4 { margin: 0 0 16px; color: #0f172a; font-size: clamp(20px, 2vw, 25px); line-height: 1.28; font-weight: 760; letter-spacing: -0.018em; }
.itbs-timeline-copy h5 { margin: 21px 0 7px; color: #1e293b; font-size: 17px; line-height: 1.4; font-weight: 750; }
.itbs-timeline-copy h4 + h5 { margin-top: 4px; }
.itbs-timeline-copy p { margin: 0 0 13px; max-width: 70ch; color: #334155; font-size: 17px; line-height: 1.72; font-weight: 500; }
.itbs-timeline-copy p:last-child { margin-bottom: 0; }
.itbs-timeline-thumb { display: block; width: 100%; padding: 0; border: 0; border-radius: 15px; overflow: hidden; background: #e2e8f0; box-shadow: 0 16px 34px -26px rgba(15,23,42,.58); cursor: zoom-in; }
.itbs-timeline-thumb img { display: block; width: 100%; height: 190px; object-fit: cover; transition: transform .25s ease, opacity .25s ease; }
.itbs-timeline-thumb:hover img { transform: scale(1.025); opacity: .97; }
.itbs-timeline-thumb:focus-visible { outline: 3px solid color-mix(in srgb,var(--itbs-primary) 28%,transparent); outline-offset: 3px; }
.itbs-timeline-body.has-image .itbs-timeline-thumb { float: right; width: min(36%, 280px); margin: 0 0 18px 24px; }
.itbs-tour-content-flow { display:flex; flex-direction:column; gap:2.5rem; }
.itbs-tour-content-flow > * { order:45; margin-top:0 !important; }
.itbs-tour-content-flow > #overview { order:10; }
.itbs-tour-content-flow > .itbs-highlights-section { order:20; }
.itbs-tour-content-flow > .itbs-program-copy { order:25; }
.itbs-tour-content-flow > #itinerary { order:30; }
.itbs-tour-content-flow > #cost-section { order:40; }
.itbs-tour-content-flow > #reviews-section { order:50; }
.itbs-tour-content-flow > .itbs-tour-questions { order:60; }
.itbs-tour-time-card { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:18px; border:1px solid #e2e8f0; border-radius:20px; background:#fff; box-shadow:0 16px 38px -32px rgba(15,23,42,.7); }
.itbs-tour-time-item { padding:14px 16px; border-radius:15px; background:#f8fafc; }
.itbs-tour-time-label { color:#64748b; font-size:11px; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.itbs-tour-time-value { margin-top:5px; color:#0f172a; font-size:clamp(20px,2vw,27px); font-weight:900; line-height:1.15; }
.itbs-deposit-badge { border:1px solid #86efac; background:#dcfce7 !important; color:#166534 !important; box-shadow:none !important; }
.itbs-payment-note { font-weight:750; }
@media (max-width: 640px) {
    .itbs-program-copy h4 { margin-top: 22px; font-size: 18px; }
    .itbs-program-copy p { font-size: 16px; line-height: 1.7; }
    .itbs-timeline { padding-left: 25px; }
    .itbs-timeline::before { left: 8px; }
    .itbs-timeline-item { padding-left: 12px; padding-bottom: 24px; }
    .itbs-timeline-item + .itbs-timeline-item { padding-top: 24px; }
    .itbs-timeline-dot { left: -23px; top: 8px; width: 13px; height: 13px; border-width: 3px; box-shadow: 0 0 0 6px color-mix(in srgb,var(--itbs-primary) 12%,transparent); }
    .itbs-timeline-item + .itbs-timeline-item .itbs-timeline-dot { top: 32px; }
    .itbs-timeline-time { font-size: 12px; padding: 6px 9px; }
    .itbs-timeline-body { margin-top: 12px; }
    .itbs-timeline-body.has-image { display: block; }
    .itbs-timeline-copy h4 { font-size: 20px; margin-bottom: 13px; }
    .itbs-timeline-copy h5 { font-size: 16px; margin-top: 18px; }
    .itbs-timeline-copy p { font-size: 16px; line-height: 1.7; }
    .itbs-timeline-body.has-image .itbs-timeline-thumb { float: none; width: 100%; margin: 0 0 18px; }
    .itbs-timeline-thumb img { height: min(58vw, 230px); }
    /* Departure and return side by side on a phone too (owner 2026-11-04): two short halves, not two tall rows. */
    .itbs-tour-time-card { gap:8px; padding:10px; }
    .itbs-tour-time-item { padding:11px 12px; }
    .itbs-tour-time-item:only-child { grid-column:1 / -1; }
    .itbs-tour-time-label { font-size:10px; letter-spacing:.06em; }
    .itbs-tour-time-value { margin-top:3px; font-size:21px; }
}

/* Prices (2026-10-27): one row of up to four cards; more wrap and the last row stretches — never a hole. */
.itbs-price-row { --itbs-gap: 12px; display: flex; flex-wrap: wrap; gap: var(--itbs-gap); }
.itbs-price-row > .itbs-price-card { flex: 1 1 calc((100% - (var(--itbs-cols, 3) - 1) * var(--itbs-gap)) / var(--itbs-cols, 3)); min-width: 0; }
@media (max-width: 640px) { .itbs-price-row { --itbs-gap: 8px; } .itbs-price-row > .itbs-price-card { flex-basis: calc((100% - var(--itbs-gap)) / 2); } }
.itbs-tier-note { margin: -4px 0 14px; color: #64748b; font-size: 14px; line-height: 1.45; }
.itbs-tier { display: flex; flex-direction: column; gap: 4px; border: 1px solid #e2e8f0; border-radius: 18px; background: #f8fafc; }
.itbs-tier__who { color: #64748b; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.itbs-tier__price { color: #0f172a; font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.itbs-tier__each { color: #64748b; font-size: 13px; }
.itbs-tier__each .itbs-dynamic-price { color: var(--itbs-primary, #0f766e); font-weight: 800; }

/* Phone: the signed-in admin's buttons (site pill, Sava) stand above the booking bar instead of covering it. */
@media (max-width: 1023px) {
    body:has(#mobile-sticky-book) :is(.itbs-pill, .sava-launch, .itbs-fav-fab) { bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* Questions and the company's replies on a phone (owner 2026-10-31): the full width, told apart by their background, not
   squeezed between avatar columns. The question on a light ground (no «?» circle), the answer under it on a tinted one with
   a small logo beside it. */
@media (max-width: 640px) {
    .itbs-qa-item { display: block !important; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 18px; background: #fff; }
    .itbs-qa-item .itbs-qa-ava--q { display: none !important; }
    .itbs-qa-item .itbs-qa-q { margin: 0 !important; padding: 14px 16px !important; border: 0 !important; border-radius: 0 !important; background: #f8fafc !important; }
    .itbs-qa-answer { display: flex !important; gap: 8px !important; align-items: flex-start; margin: 0 !important; padding: 12px 16px 14px !important; background: color-mix(in srgb, var(--t-accent, var(--itbs-primary, #2563eb)) 7%, #fff) !important; }
    .itbs-review-reply { margin-top: 2px !important; border-radius: 14px; }
    .itbs-qa-answer .itbs-qa-ava { width: 22px !important; height: 22px !important; margin-top: 1px; box-shadow: none !important; }
    .itbs-qa-answer .itbs-qa-a { flex: 1 1 0; min-width: 0; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
}

/* Transfer and extra charges (tour settings): area and what happens there on the left, the price on the right. */
.itbs-transfer__note { margin: 2px 0 8px; color: #64748b; font-size: 13px; }
.itbs-transfer__list { margin: 0; padding: 0; list-style: none; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; }
.itbs-transfer__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; background: #fff; }
.itbs-transfer__row + .itbs-transfer__row { border-top: 1px solid #f1f5f9; }
.itbs-transfer__what { min-width: 0; }
.itbs-transfer__what b { display: block; color: #0f172a; font-weight: 700; }
.itbs-transfer__what span { display: block; margin-top: 2px; color: #64748b; font-size: 12.5px; line-height: 1.45; }
.itbs-transfer__price { flex: none; max-width: 45%; text-align: right; font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; }
.itbs-transfer__price.is-included { color: #047857; }
.itbs-transfer__price small { display: block; margin-top: 1px; color: #64748b; font-size: 11.5px; font-weight: 600; }
.itbs-transfer__foot { margin: 8px 0 0; color: #64748b; font-size: 12.5px; }
@media (max-width: 480px) { .itbs-transfer__row { align-items: flex-start; } .itbs-transfer__price { max-width: 42%; font-size: 13px; } }
