/*
 * Ajinsafro Tour Bridge - Single Tour V1
 * Full static-first redesign for single st_tours (dynamic: only ID + title).
 */

:root {
    /* Palette « Circuit detail » : fond bleuté très clair, cartes blanches cernées d'un trait
       fin, un seul bleu d'action, un orange d'accent, un vert pour ce qui est inclus.
       Aucune ombre : la hiérarchie tient aux bordures et aux aplats. */
    --ajtb-v1-brand-dark: #0d2137;
    --ajtb-v1-brand-blue: #144e8c;
    --ajtb-v1-brand-blue-strong: #0d3767;
    --ajtb-v1-brand-orange: #f5821f;
    --ajtb-v1-brand-orange-strong: #c2570a;
    --ajtb-v1-bg: #eef3f9;
    --ajtb-v1-card: #ffffff;
    --ajtb-v1-text: #0d2137;
    --ajtb-v1-text-body: #2e4c66;
    --ajtb-v1-text-muted: #3d5a75;
    --ajtb-v1-text-soft: #5b7690;
    --ajtb-v1-line: #dce7f2;
    --ajtb-v1-line-strong: #cfdcea;
    --ajtb-v1-surface-soft: #f6fafd;
    --ajtb-v1-surface-mute: #f9fbfd;
    --ajtb-v1-ok: #146b45;
    --ajtb-v1-ok-bg: #e4f5ec;
    --ajtb-v1-ok-line: #bde3cf;
    --ajtb-v1-warn: #a24c07;
    --ajtb-v1-danger: #a8401f;
    --ajtb-v1-shadow: none;
    --ajtb-v1-radius-xl: 16px;
    --ajtb-v1-radius-lg: 16px;
    --ajtb-v1-radius-md: 12px;
    --ajtb-v1-radius-sm: 10px;
    --ajtb-v1-font: "Outfit", "Segoe UI", Roboto, Arial, sans-serif;
    --ajtb-v1-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.day-activity-card-proposition {
    border-color: rgba(243, 122, 31, 0.38);
    background: linear-gradient(180deg, #fffaf4 0%, #ffffff 100%);
}

.badge-proposition {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff1de;
    color: #9d4d00;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ajtb-proposition-choice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #f5d1ad;
    border-radius: 14px;
    background: #fff8f0;
}

.ajtb-proposition-choice-title {
    flex-basis: 100%;
    color: #63340b;
    font-size: 13px;
    font-weight: 800;
}

.ajtb-proposition-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #edc196;
    border-radius: 999px;
    background: #fff;
    color: #13243d;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.ajtb-proposition-radio input {
    margin: 0;
}

.ajtb-proposition-error {
    flex-basis: 100%;
    margin: 2px 0 0;
    color: #b42318;
    font-size: 13px;
    font-weight: 700;
}

body.single-st_tours {
    background: var(--ajtb-v1-bg) !important;
}

body.single-st_tours #header,
body.single-st_tours #masthead,
body.single-st_tours .site-header,
body.single-st_tours .st-header,
body.single-st_tours .main-header,
body.single-st_tours #footer,
body.single-st_tours #colophon,
body.single-st_tours .site-footer,
body.single-st_tours .st-footer,
body.single-st_tours .main-footer,
body.single-st_tours .footer-wrapper,
body.single-st_tours .footer-top,
body.single-st_tours .footer-bottom {
    display: none !important;
}

.ajtb-v1-page,
.ajtb-v1-page * {
    box-sizing: border-box;
}

.ajtb-v1-page {
    font-family: var(--ajtb-v1-font);
    color: var(--ajtb-v1-text);
    min-height: 100vh;
    --ajtb-v1-admin-top: 0px;
    --ajtb-v1-sticky-top: 88px;
    --ajtb-v1-rail-top: 186px;
    --ajtb-v1-day-scroll-offset: 172px;
    background:
        radial-gradient(circle at 12% 4%, rgba(0, 131, 196, 0.11), transparent 23%),
        radial-gradient(circle at 89% 16%, rgba(243, 122, 31, 0.1), transparent 20%),
        var(--ajtb-v1-bg);
}

.ajtb-v1-main {
    padding: 28px 0 44px;
}

.ajtb-v1-site-header {
    position: sticky;
    top: var(--ajtb-v1-admin-top);
    z-index: 210;
    transition: box-shadow 0.2s ease;
}

.ajtb-v1-site-header.is-stuck {
    box-shadow: 0 10px 24px rgba(14, 58, 90, 0.12);
}

.ajtb-v1-container {
    width: min(1260px, calc(100vw - 36px));
    margin: 0 auto;
}

.ajtb-v1-fallback-header {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-bottom: 1px solid #e6edf7;
    box-shadow: 0 8px 20px rgba(14, 58, 90, 0.06);
}

.ajtb-v1-fallback-header__inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: 18px;
}

.ajtb-v1-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.ajtb-v1-brand__logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(145deg, var(--ajtb-v1-brand-dark), var(--ajtb-v1-brand-blue));
}

.ajtb-v1-brand__text {
    color: var(--ajtb-v1-brand-dark);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.ajtb-v1-fallback-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.ajtb-v1-fallback-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: #384b67;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.ajtb-v1-fallback-nav a:hover {
    color: var(--ajtb-v1-brand-blue);
    background: #ecf5ff;
}

.ajtb-v1-lowcost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(145deg, var(--ajtb-v1-brand-orange), #ea4c2a);
    box-shadow: 0 12px 24px rgba(243, 122, 31, 0.28);
}

/* ── Formulaire de réservation, dans le récapitulatif ─────────────────────────
   Les champs sont empilés au contact du prix : le voyageur choisit sa ville, sa date et le
   nombre de voyageurs sans quitter des yeux le total. */

.ajtb-v1-booking {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.ajtb-v1-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.ajtb-v1-field-label {
    color: var(--ajtb-v1-text-body);
    font-size: 12px;
    font-weight: 600;
}

.ajtb-v1-required {
    color: var(--ajtb-v1-danger);
}

.ajtb-v1-field-static {
    margin: 0;
    color: var(--ajtb-v1-text-muted);
    font-size: 14px;
    font-weight: 500;
}

.ajtb-v1-select-shell {
    position: relative;
    display: block;
    min-width: 0;
}

.ajtb-v1-select-shell::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid var(--ajtb-v1-text-soft);
    border-bottom: 2px solid var(--ajtb-v1-text-soft);
    transform: rotate(45deg);
    pointer-events: none;
}

.ajtb-v1-select-shell:has(input)::after {
    display: none;
}

.ajtb-v1-search-select {
    width: 100%;
    min-width: 0;
    padding: 12px 34px 12px 12px;
    border: 1px solid var(--ajtb-v1-line-strong);
    border-radius: var(--ajtb-v1-radius-sm);
    background: var(--ajtb-v1-card);
    color: var(--ajtb-v1-text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-overflow: ellipsis;
    cursor: pointer;
}

.ajtb-v1-select-shell input.ajtb-v1-search-select {
    padding-right: 12px;
    cursor: text;
}

.ajtb-v1-search-select:focus-visible {
    outline: none;
    border-color: var(--ajtb-v1-brand-blue);
    box-shadow: 0 0 0 3px rgba(20, 78, 140, 0.18);
}

/* Le <select> des dates reste dans le document — il pilote prix, chambres et extras — mais
   la grille de boutons est ce que l'on voit. */
.ajtb-v1-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.ajtb-v1-date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 6px;
}

.ajtb-v1-date {
    min-height: 44px;
    padding: 8px 6px;
    border: 1px solid var(--ajtb-v1-line-strong);
    border-radius: 9px;
    background: var(--ajtb-v1-card);
    color: var(--ajtb-v1-text);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.ajtb-v1-date:hover {
    border-color: var(--ajtb-v1-brand-blue);
}

.ajtb-v1-date.is-active {
    border-color: var(--ajtb-v1-brand-blue);
    background: var(--ajtb-v1-brand-blue);
    color: #fff;
}

.ajtb-v1-date:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 78, 140, 0.18);
}

.ajtb-v1-request-note {
    margin: 0;
    color: var(--ajtb-v1-text-soft);
    font-size: 12.5px;
    line-height: 1.45;
}

/* ── Champs du récapitulatif de validation (étape 2) ──────────────────────────
   Cette page présente encore ses champs sous la forme intitulé + valeur, avec un
   panneau de voyageurs à ouvrir ; la fiche voyage, elle, les affiche en clair. */

.ajtb-v1-search-label {
    color: var(--ajtb-v1-text-body);
    font-size: 12px;
    font-weight: 600;
}

.ajtb-v1-search-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    color: var(--ajtb-v1-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.ajtb-v1-search-value--select {
    align-items: stretch;
}

.ajtb-v1-search-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ajtb-v1-search-value strong {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ajtb-v1-line);
    border-radius: 999px;
    background: var(--ajtb-v1-surface-soft);
    color: var(--ajtb-v1-text-soft);
    font-size: 12px;
}

.ajtb-v1-guest-trigger {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.ajtb-v1-guest-popover {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 40;
    padding: 12px;
    border: 1px solid var(--ajtb-v1-line);
    border-radius: 14px;
    background: var(--ajtb-v1-card);
    box-shadow: 0 18px 34px rgba(13, 33, 55, 0.14);
}

.ajtb-v1-guest-popover[hidden] {
    display: none;
}

.ajtb-v1-guest-apply {
    margin-top: 10px;
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    background: var(--ajtb-v1-brand-blue);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.ajtb-v1-guest-apply:hover {
    background: var(--ajtb-v1-brand-blue-strong);
}

@media (max-width: 767px) {
    .ajtb-v1-guest-popover {
        position: static;
        margin-top: 8px;
        box-shadow: none;
    }
}
.ajtb-v1-field-error {
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.ajtb-v1-guests-picker {
    position: relative;
}

.ajtb-v1-guest-rows {
    display: flex;
    flex-direction: column;
}
.ajtb-v1-guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}

.ajtb-v1-guest-row + .ajtb-v1-guest-row {
    border-top: 1px solid #edf3fb;
}

.ajtb-v1-guest-row strong {
    display: block;
    color: #122840;
    font-size: 14px;
    font-weight: 700;
}

.ajtb-v1-guest-row span {
    color: #6c7d95;
    font-size: 12px;
    font-weight: 600;
}

.ajtb-v1-guest-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border: 1px solid var(--ajtb-v1-line-strong);
    border-radius: 10px;
}
.ajtb-v1-guest-stepper button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: var(--ajtb-v1-surface-soft);
    color: var(--ajtb-v1-brand-blue);
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}
.ajtb-v1-guest-stepper span {
    min-width: 20px;
    text-align: center;
    color: #102540;
    font-size: 14px;
    font-weight: 700;
}


.ajtb-v1-search-btn {
    border: 0;
    border-radius: 16px;
    min-width: 150px;
    min-height: 88px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    background: linear-gradient(180deg, #1d8eff, #005ff7);
    box-shadow: 0 14px 24px rgba(0, 95, 247, 0.28);
}

.ajtb-v1-search-btn:hover {
    filter: brightness(1.05);
}

.ajtb-v1-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--ajtb-v1-text-soft);
    font-size: 12.5px;
}

.ajtb-v1-breadcrumb a {
    color: var(--ajtb-v1-brand-blue);
    text-decoration: none;
}

.ajtb-v1-breadcrumb a:hover {
    color: var(--ajtb-v1-brand-blue-strong);
}

.ajtb-v1-breadcrumb [aria-current] {
    color: var(--ajtb-v1-text);
}

.ajtb-v1-hero {
    margin-top: 12px;
}

.ajtb-v1-hero-facts {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ajtb-v1-fact {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid var(--ajtb-v1-line);
    border-radius: 999px;
    background: var(--ajtb-v1-card);
    color: var(--ajtb-v1-text);
    font-size: 13px;
    font-weight: 500;
}

.ajtb-v1-fact--included {
    border-color: var(--ajtb-v1-ok-line);
    background: var(--ajtb-v1-ok-bg);
    color: var(--ajtb-v1-ok);
    font-weight: 600;
}
.ajtb-v1-hero-kicker {
    margin: 0 0 10px;
    color: #0f5e8a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ajtb-v1-title {
    margin: 12px 0 0;
    max-width: 34ch;
    color: var(--ajtb-v1-text);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-wrap: pretty;
}
.ajtb-v1-meta-pills {
    display: none;
}

.ajtb-v1-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid var(--ajtb-v1-line);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    color: #50627d;
    font-size: 11px;
    font-weight: 700;
}

.ajtb-v1-pill--id {
    border-color: #b8d7f2;
    color: #0f4f7e;
    background: #eef7ff;
}

.ajtb-v1-gallery {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: clamp(110px, 15vw, 185px);
    gap: 10px;
}
.ajtb-v1-gallery-item {
    margin: 0;
    grid-column: span 4;
    height: 100%;
    border-radius: var(--ajtb-v1-radius-lg);
    overflow: hidden;
    background: #dfe9f3;
}
.ajtb-v1-gallery-media {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
        linear-gradient(135deg, #edf4fb, #dfeaf5);
}

.ajtb-v1-gallery img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    display: block;
}

@media (hover: hover) {
    .ajtb-v1-gallery-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(14, 58, 90, 0.14);
    }
}

.ajtb-v1-gallery--count-1 .ajtb-v1-gallery-item {
    grid-column: 1 / -1;
    min-height: 340px;
}

.ajtb-v1-gallery--count-2 .ajtb-v1-gallery-item {
    grid-column: span 6;
}

.ajtb-v1-gallery--count-3 .ajtb-v1-gallery-item.is-featured,
.ajtb-v1-gallery--count-4 .ajtb-v1-gallery-item.is-featured,
.ajtb-v1-gallery--count-many .ajtb-v1-gallery-item.is-featured {
    grid-column: span 8;
    grid-row: span 2;
}

.ajtb-v1-gallery--count-3 .ajtb-v1-gallery-item:not(.is-featured),
.ajtb-v1-gallery--count-4 .ajtb-v1-gallery-item:not(.is-featured),
.ajtb-v1-gallery--count-many .ajtb-v1-gallery-item:not(.is-featured) {
    grid-column: span 4;
}

.ajtb-v1-tabs {
    margin-top: 24px;
    padding: 0 2px;
    border-bottom: 1px solid var(--ajtb-v1-line);
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.ajtb-v1-tab-btn {
    position: relative;
    border: 0;
    background: transparent;
    min-height: 48px;
    padding: 0;
    color: #5c6f8b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.ajtb-v1-tab-btn.is-active {
    color: var(--ajtb-v1-brand-blue);
}

.ajtb-v1-tab-btn.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 999px;
    background: var(--ajtb-v1-brand-blue);
}

.ajtb-v1-layout {
    margin-top: clamp(18px, 2.4vw, 28px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    gap: clamp(16px, 2vw, 24px);
    align-items: start;
}
.ajtb-v1-main-column {
    min-width: 0;
}

.ajtb-v1-sidebar {
    position: sticky;
    top: var(--ajtb-v1-rail-top);
    display: grid;
    gap: 14px;
}
.ajtb-v1-tab-panel {
    display: none;
}

.ajtb-v1-tab-panel.is-active {
    display: block;
}

.ajtb-v1-card,
.ajtb-v1-side-card {
    background: var(--ajtb-v1-card);
    border: 1px solid var(--ajtb-v1-line);
    border-radius: var(--ajtb-v1-radius-lg);
    box-shadow: var(--ajtb-v1-shadow);
}

.ajtb-v1-card {
    padding: clamp(16px, 2vw, 22px);
}

.ajtb-v1-overview-card {
    margin-bottom: 14px;
}

.ajtb-v1-kicker {
    margin: 0;
    color: var(--ajtb-v1-brand-orange-strong);
    font-family: var(--ajtb-v1-font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ajtb-v1-overview-lead {
    margin: 10px 0 0;
    color: var(--ajtb-v1-text-body);
    font-size: 15px;
    line-height: 1.6;
    text-wrap: pretty;
}

.ajtb-v1-route {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.ajtb-v1-route li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ajtb-v1-route-stop {
    padding: 6px 10px;
    border: 1px solid var(--ajtb-v1-line);
    border-radius: 8px;
    background: var(--ajtb-v1-surface-soft);
}

.ajtb-v1-route-arrow {
    color: #9fb6cc;
}
.ajtb-v1-overview-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--ajtb-v1-text-body);
    font-size: 14px;
    line-height: 1.65;
}
.ajtb-v1-included-bar {
    margin: 0 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ajtb-v1-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--ajtb-v1-line);
    background: var(--ajtb-v1-card);
    color: var(--ajtb-v1-text-body);
    font-size: 13px;
    font-weight: 500;
}
.ajtb-v1-tabs {
    margin-bottom: 16px;
    display: flex;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--ajtb-v1-line);
    border-radius: 14px;
    background: var(--ajtb-v1-card);
    overflow-x: auto;
}

.ajtb-v1-tab {
    flex: 1 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 10px;
    padding: 11px 16px;
    background: transparent;
    color: var(--ajtb-v1-text-body);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease;
}

.ajtb-v1-tab:hover {
    background: var(--ajtb-v1-surface-soft);
}

.ajtb-v1-tab.is-active {
    background: var(--ajtb-v1-brand-blue);
    color: #fff;
}

.ajtb-v1-tab.is-active:hover {
    background: var(--ajtb-v1-brand-blue-strong);
}

.ajtb-v1-tab-count {
    opacity: 0.7;
    font-weight: 500;
}

.ajtb-v1-tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 78, 140, 0.18);
}
.ajtb-v1-day-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ajtb-v1-day-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ajtb-v1-day-chip {
    border: 1px solid var(--ajtb-v1-line);
    border-radius: 10px;
    padding: 8px 12px;
    background: var(--ajtb-v1-card);
    font-family: inherit;
    font-size: 12.5px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease;
}

.ajtb-v1-day-chip:hover {
    border-color: var(--ajtb-v1-brand-blue);
}

.ajtb-v1-day-chip__n {
    display: block;
    color: var(--ajtb-v1-brand-orange-strong);
    font-weight: 700;
}

.ajtb-v1-day-chip__date {
    display: block;
    color: var(--ajtb-v1-text-muted);
}

.ajtb-v1-day-chip.is-active {
    border-color: var(--ajtb-v1-brand-blue);
    background: var(--ajtb-v1-surface-soft);
}
.ajtb-v1-timeline {
    position: relative;
}

.ajtb-v1-timeline::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 7px;
    width: 2px;
    background: var(--ajtb-v1-line-strong);
}
.ajtb-v1-day-card {
    position: relative;
    padding-left: 34px;
    margin-bottom: 14px;
    scroll-margin-top: var(--ajtb-v1-day-scroll-offset);
}
.ajtb-v1-day-card::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 22px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--ajtb-v1-brand-blue);
}
.ajtb-v1-day-box {
    background: var(--ajtb-v1-card);
    border: 1px solid var(--ajtb-v1-line);
    border-radius: var(--ajtb-v1-radius-lg);
    overflow: hidden;
}
.ajtb-v1-day-head {
    padding: clamp(16px, 2vw, 20px) clamp(16px, 2vw, 20px) 0;
}

.ajtb-v1-day-head-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.ajtb-v1-day-badge {
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: var(--ajtb-v1-brand-orange);
    color: #2a1400;
    font-size: 12px;
    font-weight: 700;
}

.ajtb-v1-day-date {
    color: var(--ajtb-v1-text-soft);
    font-size: 12.5px;
}

.ajtb-v1-day-head h3 {
    margin: 10px 0 0;
    color: var(--ajtb-v1-text);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.ajtb-v1-day-included {
    margin: 6px 0 0;
    color: var(--ajtb-v1-ok);
    font-size: 12.5px;
    font-weight: 600;
}
.ajtb-v1-day-content {
    padding: 18px;
}

.ajtb-v1-day-desc {
    margin: 0 0 16px;
    color: var(--ajtb-v1-text-body);
    font-size: 14.5px;
    line-height: 1.65;
    text-wrap: pretty;
}
.ajtb-v1-day-desc.is-collapsed,
.ajtb-v1-media-row p.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ajtb-v1-day-desc.is-collapsed {
    -webkit-line-clamp: 3;
}

.ajtb-v1-media-row p.is-collapsed {
    -webkit-line-clamp: 2;
}

.ajtb-v1-expand-toggle {
    margin: -6px 0 12px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--ajtb-v1-brand-blue);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}
.ajtb-v1-service-card {
    margin-bottom: 12px;
    border: 1px solid #dce8f6;
    border-radius: var(--ajtb-v1-radius-lg);
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff, #fcfeff);
}

.ajtb-v1-service-head {
    min-height: 44px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #526784;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #fbfdff;
    border-bottom: 1px solid #e7eff9;
}

.ajtb-v1-service-head span:last-child {
    color: var(--ajtb-v1-brand-blue);
}

.ajtb-v1-service-remove {
    border: 0;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff0ec;
    color: #c1441f;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.ajtb-v1-service-remove:hover {
    background: #ffe2d9;
}

.ajtb-v1-service-remove:disabled {
    opacity: 0.6;
    cursor: wait;
}

.ajtb-v1-service-remove.is-loading:disabled {
    min-width: 58px;
    background: linear-gradient(180deg, #c95634, #b54322);
    color: #fff;
    opacity: 1;
}

.ajtb-v1-service-body {
    padding: 14px;
}

.ajtb-v1-flight-grid {
    display: grid;
    grid-template-columns: 92px 1fr 92px 120px;
    align-items: center;
    gap: 12px;
}

.ajtb-v1-flight-grid strong {
    display: block;
    color: #152942;
    font-size: 22px;
}

.ajtb-v1-flight-grid small {
    color: #6a7d97;
    font-size: 12px;
    font-weight: 700;
}

.ajtb-v1-flight-line {
    position: relative;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #b7d3f5, #5f9fed);
}

.ajtb-v1-flight-line::after {
    content: "";
    position: absolute;
    right: -6px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ajtb-v1-brand-blue);
}

.ajtb-v1-flight-grid img {
    width: 100%;
    height: 86px;
    border: 1px solid #dce7f4;
    border-radius: 10px;
    object-fit: cover;
    background: #eef5fb;
}

.ajtb-v1-media-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.ajtb-v1-media-thumb {
    width: 112px;
    min-height: 96px;
    border-radius: 12px;
    border: 1px solid #dbe7f6;
    background: linear-gradient(180deg, #edf4fa, #e5eef8);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.ajtb-v1-media-row img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
}

.ajtb-v1-media-row h4 {
    margin: 0 0 6px;
    color: #152842;
    font-size: 18px;
    font-weight: 800;
}

.ajtb-v1-media-row p {
    margin: 0;
    color: #60718b;
    font-size: 13px;
    line-height: 1.66;
}

.ajtb-v1-meta-line {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #6d7f99;
    font-size: 12px;
    font-weight: 700;
}

.ajtb-v1-meal,
.ajtb-v1-note {
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: var(--ajtb-v1-radius-md);
    color: #5a6b83;
    font-size: 13px;
    font-weight: 600;
}

.ajtb-v1-meal {
    border: 1px dashed #cfe0f5;
    background: #f8fbff;
}

.ajtb-v1-note {
    border: 1px solid #e0eaf8;
    background: #f1f7ff;
}

.ajtb-v1-optional-cta-wrap {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

/* CTA trigger button */
.ajtb-v1-optional-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1.5px dashed #9bc8ff;
    border-radius: 12px;
    background: #f2f8ff;
    color: #0568f5;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    text-align: left;
}

.ajtb-v1-optional-trigger:hover {
    background: #e4f0ff;
    border-color: #5aaaf5;
}

.ajtb-v1-optional-trigger svg {
    flex-shrink: 0;
}

/* ── Activity Modal Overlay ─────────────────────────────── */
.ajtb-act-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 30, 55, 0.55);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

@media (min-width: 600px) {
    .ajtb-act-modal-overlay {
        align-items: stretch;
    }
}

.ajtb-act-modal-overlay[hidden] {
    display: none;
}

body.ajtb-modal-open {
    overflow: hidden;
}

.ajtb-act-modal-drawer {
    width: 100%;
    max-width: 480px;
    max-height: 92dvh;
    background: #fff;
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    box-shadow: -6px 0 40px rgba(10, 40, 90, 0.18);
    overflow: hidden;
    animation: ajtb-drawer-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 600px) {
    .ajtb-act-modal-drawer {
        border-radius: 0 0 0 0;
        max-height: 100dvh;
    }
}

@keyframes ajtb-drawer-in {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@media (min-width: 600px) {
    @keyframes ajtb-drawer-in {
        from { transform: translateX(100%); opacity: 0; }
        to   { transform: translateX(0);    opacity: 1; }
    }
}

.ajtb-act-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 20px 14px;
    border-bottom: 1px solid #e8f0f9;
    flex-shrink: 0;
}

.ajtb-act-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #0e2d4e;
}

.ajtb-act-modal-subtitle {
    margin: 3px 0 0;
    font-size: 12px;
    color: #5f7a96;
}

.ajtb-act-modal-close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d8e8f5;
    background: #f3f8fd;
    color: #3d5a78;
    cursor: pointer;
    transition: background 0.12s;
}

.ajtb-act-modal-close:hover {
    background: #e0edf9;
}

.ajtb-act-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 24px;
    -webkit-overflow-scrolling: touch;
}

.ajtb-act-modal-grid {
    display: grid;
    gap: 14px;
}

.ajtb-act-modal-empty {
    text-align: center;
    color: #7a94b0;
    font-size: 14px;
    padding: 32px 0;
}

/* Activity card inside modal */
.ajtb-act-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    border: 1px solid #deeaf7;
    border-radius: 14px;
    background: #fff;
    padding: 12px;
    transition: box-shadow 0.12s;
}

.ajtb-act-card:hover {
    box-shadow: 0 4px 16px rgba(14, 58, 100, 0.09);
}

.ajtb-act-card-media img {
    width: 100%;
    height: 82px;
    object-fit: cover;
    border-radius: 10px;
    background: #edf4fa;
}

.ajtb-act-card-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 82px;
    border-radius: 10px;
    background: linear-gradient(135deg, #d4e8f9, #eaf3fd);
}

.ajtb-act-card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff1de;
    color: #9d5a00;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 5px;
}

.ajtb-act-card-title {
    margin: 0 0 4px;
    color: #0e2d4e;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.ajtb-act-card-actions {
    margin: 7px 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.ajtb-act-card-desc {
    margin: 0;
    color: #5a7290;
    font-size: 11px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ajtb-act-card-footer {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.ajtb-v1-service-progress {
    padding: 0 14px 14px;
}

.ajtb-act-progress {
    width: 100%;
    padding: 8px 9px;
    border-radius: 10px;
    background: #f2f7ff;
    border: 1px solid #d7e8ff;
}

.ajtb-act-progress[hidden] {
    display: none;
}

.ajtb-act-progress-top {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #315a87;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ajtb-act-progress-top strong {
    color: #075fbd;
    font-size: 11px;
}

.ajtb-act-progress-track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #dbe9f8;
}

.ajtb-act-progress-track span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f78ff, #39c2ff);
    transition: width 0.16s ease-out;
}

.ajtb-act-progress.is-complete {
    background: #eefaf4;
    border-color: #c4edd7;
}

.ajtb-act-progress.is-complete .ajtb-act-progress-track span {
    background: linear-gradient(90deg, #1f9f64, #44d087);
}

.ajtb-act-progress.is-complete .ajtb-act-progress-top,
.ajtb-act-progress.is-complete .ajtb-act-progress-top strong {
    color: #14784a;
}

.ajtb-act-progress.is-error {
    background: #fff3f0;
    border-color: #ffd2c7;
}

.ajtb-act-progress.is-error .ajtb-act-progress-track span {
    background: linear-gradient(90deg, #d94c28, #ff8b64);
}

.ajtb-act-progress.is-error .ajtb-act-progress-top,
.ajtb-act-progress.is-error .ajtb-act-progress-top strong {
    color: #b43619;
}

.ajtb-act-card-price {
    color: #0e2d4e;
    font-size: 12px;
    font-weight: 800;
}

.ajtb-act-card-btn {
    border: 0;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 8px;
    background: linear-gradient(180deg, #1f8fff, #0568f5);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.12s;
}

.ajtb-act-card-btn:hover {
    opacity: 0.88;
}

.ajtb-act-card-btn.is-loading {
    opacity: 0.65;
    cursor: wait;
}

.ajtb-act-card-btn.is-done {
    background: linear-gradient(180deg, #28a36a, #1d8a58);
    cursor: default;
}

.ajtb-act-card-btn:disabled:not(.is-done) {
    background: #d7e3f1;
    color: #48607d;
    cursor: not-allowed;
}

.ajtb-act-card-btn.is-loading:disabled {
    min-width: 58px;
    background: linear-gradient(180deg, #0f78ff, #075fd4);
    color: #fff;
    cursor: wait;
    opacity: 1;
}

/* Legacy optional badge kept for included activities display */
.ajtb-v1-optional-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff1de;
    color: #9d5a00;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ajtb-v1-tab-panel h2 {
    margin: 0 0 12px;
    color: #17304d;
    font-size: 22px;
    font-weight: 800;
}

.ajtb-v1-subsection-title {
    margin: 18px 0 10px;
    color: #17304d;
    font-size: 17px;
    font-weight: 800;
}

.ajtb-v1-summary-table {
    display: grid;
    gap: 10px;
}

.ajtb-v1-summary-table div {
    display: grid;
    gap: 4px;
    border: 1px solid #dbe7f5;
    border-radius: var(--ajtb-v1-radius-md);
    padding: 12px;
    background: #fafeff;
}

.ajtb-v1-summary-table strong {
    color: #17304c;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ajtb-v1-summary-table span {
    color: #60718b;
    font-size: 13px;
    font-weight: 600;
}

.ajtb-v1-side-card {
    padding: clamp(16px, 2vw, 20px);
    position: relative;
    overflow: hidden;
}
.ajtb-v1-summary-card {
    display: block;
}
.ajtb-v1-summary-head {
    margin-bottom: 16px;
}
.ajtb-v1-summary-head h3 {
    margin: 0;
    color: var(--ajtb-v1-text);
    font-size: 18px;
    font-weight: 600;
}
.ajtb-v1-summary-subtitle {
    margin: 4px 0 0;
    color: #687a93;
    font-size: 12px;
    line-height: 1.5;
}

.ajtb-v1-summary-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: #ecf7ff;
    color: #0f6aa8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ajtb-v1-summary-price-row {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--ajtb-v1-line);
    border-radius: var(--ajtb-v1-radius-md);
    background: var(--ajtb-v1-surface-soft);
}
.ajtb-v1-summary-label {
    display: block;
    color: var(--ajtb-v1-text-soft);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ajtb-v1-summary-price {
    margin: 4px 0 0;
    color: var(--ajtb-v1-text);
    font-size: 18px;
    font-weight: 700;
}
.ajtb-v1-summary-price span {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.ajtb-v1-summary-unit {
    margin: 2px 0 0;
    color: var(--ajtb-v1-text-muted);
    font-size: 13px;
    font-weight: 500;
}
.ajtb-v1-summary-unit span {
    display: block;
}

.ajtb-v1-summary-unit small {
    display: block;
    margin-top: 3px;
    color: #74849a;
    font-size: 11px;
    font-weight: 600;
}

.ajtb-v1-price-breakdown {
    display: grid;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px dashed rgba(15, 106, 168, 0.25);
    background: rgba(236, 247, 255, 0.6);
}

.ajtb-v1-price-breakdown > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: #496381;
    font-weight: 700;
}

.ajtb-v1-price-breakdown span {
    color: #6a7d97;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ajtb-v1-price-breakdown strong {
    color: #0f2a46;
    font-weight: 900;
}

.ajtb-v1-summary-list {
    margin: 16px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--ajtb-v1-bg);
    display: flex;
    flex-direction: column;
}
.ajtb-v1-summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    font-size: 13.5px;
}
.ajtb-v1-summary-list dt {
    margin: 0;
    color: var(--ajtb-v1-text-soft);
    font-weight: 400;
}
.ajtb-v1-summary-list dd {
    margin: 0;
    color: var(--ajtb-v1-text);
    font-weight: 600;
    text-align: right;
    /* Un intitule de voyage tient en deux lignes : au-dela il chasse le prix hors de vue. */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.ajtb-v1-summary-block {
    display: grid;
    gap: 8px;
}

.ajtb-v1-summary-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ajtb-v1-summary-chips li {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #d9e7f6;
    background: #f8fbff;
    color: #50627d;
    font-size: 11px;
    font-weight: 700;
}

.ajtb-v1-summary-chips .ajtb-v1-summary-chip-total {
    background: #eaf7ff;
    color: #075f9f;
    border-color: #bfe1f7;
}

.ajtb-v1-summary-block,
.ajtb-v1-summary-footnote {
    display: none;
}

.ajtb-v1-summary-action {
    margin-top: 14px;
    width: 100%;
    border: 0;
    border-radius: 11px;
    padding: 14px;
    background: var(--ajtb-v1-brand-blue);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.ajtb-v1-summary-hint {
    margin: 8px 0 0;
    color: var(--ajtb-v1-text-soft);
    font-size: 12.5px;
    text-align: center;
}
.ajtb-v1-summary-action:hover {
    background: var(--ajtb-v1-brand-blue-strong);
}
.ajtb-v1-side-card h3 {
    margin: 0 0 10px;
    color: var(--ajtb-v1-text);
    font-size: 16px;
    font-weight: 600;
}

/* Carte de contact : le téléphone reste à portée quand le récapitulatif est long. */
.ajtb-v1-contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ajtb-v1-contact-card strong {
    display: block;
    color: var(--ajtb-v1-text);
    font-size: 14px;
    font-weight: 600;
}

.ajtb-v1-contact-phone {
    display: block;
    color: var(--ajtb-v1-text-muted);
    font-size: 13px;
    text-decoration: none;
}

.ajtb-v1-contact-link {
    border: 1px solid var(--ajtb-v1-line-strong);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--ajtb-v1-brand-blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.ajtb-v1-contact-link:hover {
    border-color: var(--ajtb-v1-brand-blue);
}
.ajtb-v1-price {
    margin: 0;
    color: #35495f;
    font-size: 13px;
    font-weight: 700;
}

.ajtb-v1-price span {
    color: #13243d;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ajtb-v1-price-note {
    margin: 6px 0 0;
    color: #687a93;
    font-size: 12px;
    line-height: 1.55;
}

.ajtb-v1-price-includes {
    margin: 14px 0 0;
    padding-left: 18px;
    color: #5e6f88;
    font-size: 12px;
    line-height: 1.7;
}

.ajtb-v1-price-card button {
    margin-top: 14px;
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: var(--ajtb-v1-radius-sm);
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #1d8eff, #005ff7);
}

.ajtb-v1-price-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, #0e3a5a, #0083c4, #f37a1f);
}

.ajtb-v1-side-highlight {
    border-color: #d8e8f4;
    background: linear-gradient(145deg, #fbfdff, #f4f9ff);
}

.ajtb-v1-side-highlight p {
    margin: 0;
    color: #4f6481;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.ajtb-v1-departure-list {
    margin: 0 0 8px;
    padding-left: 18px;
    color: #355272;
    font-size: 13px;
    line-height: 1.6;
}

.ajtb-v1-coupon {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: var(--ajtb-v1-radius-md);
    border: 1px solid #dfe9f7;
    background: #f8fbff;
}

.ajtb-v1-coupon + .ajtb-v1-coupon {
    margin-top: 10px;
}

.ajtb-v1-coupon strong {
    display: block;
    color: #1f4e84;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ajtb-v1-coupon p {
    margin: 4px 0 0;
    color: #6b7d96;
    font-size: 12px;
    line-height: 1.45;
}

.ajtb-v1-coupon span {
    color: #0f6ed2;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.ajtb-v1-best-deals {
    color: var(--ajtb-v1-text);
    border-color: #d7e5ec;
    background: linear-gradient(145deg, #f5fbf8, #eef7f2);
}

.ajtb-v1-best-deals h3 {
    color: #1f5d49;
}

.ajtb-v1-best-deals ul {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.65;
    color: #476556;
}

.ajtb-v1-footer-wrap {
    margin-top: 24px;
}

.ajtb-v1-fallback-footer {
    margin-top: 18px;
    padding: 34px 0 26px;
    color: #eaf2ff;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.09), transparent 26%),
        radial-gradient(circle at 82% 82%, rgba(243, 122, 31, 0.22), transparent 24%),
        linear-gradient(160deg, #0e3a5a, #0a2841);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ajtb-v1-fallback-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.ajtb-v1-fallback-footer h4 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ajtb-v1-fallback-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 7px;
}

.ajtb-v1-fallback-footer li,
.ajtb-v1-fallback-footer p,
.ajtb-v1-fallback-footer a {
    margin: 0;
    color: #d6e4f7;
    font-size: 13px;
    text-decoration: none;
}

.ajtb-v1-fallback-footer form {
    display: flex;
    gap: 8px;
}

.ajtb-v1-fallback-footer input {
    flex: 1;
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0 10px;
}

.ajtb-v1-fallback-footer input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.ajtb-v1-fallback-footer button {
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    padding: 0 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(180deg, #1d8eff, #005ff7);
}

.ajtb-v1-floating-btn {
    display: none !important;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    border: 0;
    border-radius: 999px;
    min-height: 52px;
    padding: 0 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    background: linear-gradient(140deg, var(--ajtb-v1-brand-orange), var(--ajtb-v1-brand-orange-strong));
    box-shadow: 0 16px 32px rgba(217, 95, 8, 0.38);
}

.ajtb-v1-floating-btn:hover {
    filter: brightness(1.06);
}

/* ── Recap page (validation step) ─────────────────────────── */
.ajtb-v1-recap .ajtb-v1-main {
    padding-top: 22px;
}

.ajtb-v1-recap-head {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.ajtb-v1-recap-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f4f79;
    font-weight: 800;
    text-decoration: none;
}

.ajtb-v1-recap-back:hover {
    text-decoration: underline;
}

.ajtb-v1-recap-subtitle {
    margin: 8px 0 0;
    color: #60718b;
    font-size: 13px;
    font-weight: 600;
}

.ajtb-v1-recap-steps {
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid #d5e5f7;
    background: linear-gradient(180deg, #fafdff, #f2f8ff);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ajtb-v1-recap-step {
    min-height: 56px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid #d9e6f5;
    background: #ffffff;
    color: #17304d;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    opacity: 0.72;
}

.ajtb-v1-recap-step:hover {
    border-color: #bdd7f3;
    box-shadow: 0 8px 16px rgba(14, 58, 90, 0.1);
    transform: translateY(-1px);
}

.ajtb-v1-recap-step-index {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf4ff;
    border: 1px solid #c8def6;
    color: #0f4f79;
    font-size: 12px;
    font-weight: 900;
    flex: 0 0 auto;
}

.ajtb-v1-recap-step-label {
    color: #1f3652;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.ajtb-v1-recap-step.is-active {
    border-color: #94c6ef;
    background: linear-gradient(180deg, #f7fbff, #edf6ff);
    box-shadow: 0 12px 20px rgba(15, 79, 121, 0.16);
    opacity: 1;
}

.ajtb-v1-recap-step.is-active .ajtb-v1-recap-step-index {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(180deg, #1285f4, #0061e4);
}

.ajtb-v1-recap-wizard {
    display: grid;
    gap: 16px;
}

.ajtb-v1-recap-panel {
    display: grid;
    gap: 14px;
}

.ajtb-v1-recap-panel[hidden] {
    display: none !important;
}

.ajtb-v1-recap-step-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #dbe8f6;
    background: #ffffff;
}

.ajtb-v1-step-actions-label {
    color: #587494;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ajtb-v1-step-actions-buttons {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.ajtb-v1-recap-step-actions--final {
    justify-content: space-between;
    margin-top: 14px;
}

.ajtb-v1-recap-wizard .ajtb-v1-recap-price {
    position: static;
    top: auto;
}

.ajtb-v1-recap-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 18px;
    align-items: start;
}

.ajtb-v1-recap-main {
    min-width: 0;
    display: grid;
    gap: 16px;
}

.ajtb-v1-recap-main [data-ajtb-step-panel] {
    display: grid;
    gap: 16px;
    animation: ajtbV1StepReveal 0.22s ease;
}

.ajtb-v1-recap-main [data-ajtb-step-panel][hidden] {
    display: none !important;
}

.ajtb-v1-recap-sidebar {
    position: sticky;
    top: var(--ajtb-v1-rail-top);
    display: grid;
    gap: 14px;
    align-self: start;
}

.ajtb-v1-page[data-ajtb-active-step="ajtb-v1-step-price"] .ajtb-v1-recap-sidebar .ajtb-v1-recap-price {
    border-color: #8abeea;
    box-shadow: 0 20px 32px rgba(15, 79, 121, 0.2);
}

.ajtb-v1-recap-tour {
    display: grid;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid #dbe8f6;
    background: linear-gradient(165deg, #ffffff 0%, #f6fbff 100%);
    box-shadow: 0 16px 28px rgba(15, 79, 121, 0.1);
    align-items: stretch;
}

.ajtb-v1-recap-checkout {
    padding: 18px;
}

.ajtb-v1-recap-tour-media {
    border-radius: 18px;
    overflow: hidden;
    min-height: 100%;
    height: 100%;
    display: grid;
}

.ajtb-v1-recap-tour-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 100%;
    background: #edf4fa;
}

.ajtb-v1-recap-tour-body {
    padding: 8px 4px 6px;
    display: grid;
    gap: 12px;
}

.ajtb-v1-recap-tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ajtb-v1-recap-hero-title {
    margin: 0;
    color: #112f4b;
    font-size: clamp(24px, 2.3vw, 32px);
    font-weight: 900;
    line-height: 1.15;
}

.ajtb-v1-recap-hero-price {
    margin: 0;
    color: #56708f;
    font-size: 13px;
    font-weight: 700;
}

.ajtb-v1-recap-hero-price strong {
    color: #0f4f79;
    font-size: 19px;
    font-weight: 900;
}

.ajtb-v1-step1-selection-preview {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed #dbe8f6;
}

.ajtb-v1-recap-section-title {
    margin: 0 0 10px;
    color: #17304d;
    font-size: 18px;
    font-weight: 800;
}

.ajtb-v1-recap-step-kicker {
    display: inline-block;
    margin-right: 8px;
    color: #0f5e8a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ajtb-v1-recap-tour-points {
    margin: 0;
    padding-left: 18px;
    color: #5f6f87;
    font-size: 13px;
    line-height: 1.7;
}

.ajtb-v1-recap-hero-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ajtb-v1-recap-hero-grid div {
    padding: 12px 13px;
    border-radius: 12px;
    border: 1px solid #d8e7f6;
    background: linear-gradient(180deg, #ffffff, #f9fcff);
    display: grid;
    gap: 4px;
}

.ajtb-v1-recap-hero-grid span {
    color: #6d7f99;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ajtb-v1-recap-hero-grid strong {
    color: #16304d;
    font-size: 13px;
    font-weight: 800;
}

.ajtb-v1-recap-selection {
    padding: 18px;
    margin-top: 0;
}

.ajtb-v1-recap-section-note {
    margin: -2px 0 12px;
    color: #6f839a;
    font-size: 13px;
    font-weight: 600;
}

.ajtb-v1-recap-selection-head {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.ajtb-v1-recap-edit-card--full {
    grid-column: 1 / -1;
}

.ajtb-v1-recap-edit-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #d8e7f6;
    padding: 14px 16px;
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 6px 16px rgba(15, 79, 121, 0.08);
}

.ajtb-v1-recap-people-banner {
    grid-column: 1 / -1;
    border: 1px solid #b7d6f1;
    border-radius: 14px;
    background: linear-gradient(145deg, #eef7ff, #e4f3ff);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ajtb-v1-recap-people-banner span {
    color: #0f4f79;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ajtb-v1-recap-people-banner strong {
    color: #0d2f4d;
    font-size: 18px;
    font-weight: 900;
}

.ajtb-v1-selection-groups {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ajtb-v1-selection-group {
    border: 1px solid #dbe8f6;
    border-radius: 15px;
    background: #ffffff;
    padding: 14px;
    box-shadow: 0 8px 18px rgba(15, 79, 121, 0.07);
    min-height: 100%;
}

.ajtb-v1-selection-group h3 {
    margin: 0 0 10px;
}

.ajtb-v1-selection-group h3 span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #123150;
    font-size: 14px;
    font-weight: 900;
}

.ajtb-v1-selection-group h3 span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #1681e8;
    box-shadow: 0 0 0 4px rgba(22, 129, 232, 0.12);
}

.ajtb-v1-selection-group dl {
    margin: 0;
    display: grid;
    gap: 8px;
}

.ajtb-v1-selection-group dl > div {
    border-radius: 10px;
    background: #f8fbff;
    border: 1px solid #e5eef9;
    padding: 10px 11px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

.ajtb-v1-selection-group dt {
    margin: 0;
    color: #6a7f9a;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ajtb-v1-selection-group dd {
    margin: 0;
    color: #153554;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ajtb-v1-recap-dl--readonly {
    margin-top: 0;
}

.ajtb-v1-recap-dl {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ajtb-v1-recap-dl > div {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #dce7f4;
    background: #ffffff;
}

.ajtb-v1-recap-dl dt {
    margin: 0 0 4px;
    color: #6d7f99;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ajtb-v1-recap-dl dd {
    margin: 0;
    color: #16304d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.ajtb-v1-recap-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
}

.ajtb-v1-recap-details {
    padding: 18px;
}

.ajtb-v1-recap-days {
    display: grid;
    gap: 10px;
}

.ajtb-v1-recap-day {
    border: 1px solid #dce7f4;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.ajtb-v1-recap-day summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 14px;
    display: flex;
    gap: 10px;
    align-items: center;
    color: #16304d;
    font-weight: 800;
}

.ajtb-v1-recap-day summary::-webkit-details-marker {
    display: none;
}

.ajtb-v1-recap-day summary strong {
    width: 34px;
    height: 28px;
    border-radius: 10px;
    background: #eef7ff;
    border: 1px solid #cfe3f7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.ajtb-v1-recap-day summary span {
    font-size: 13px;
}

.ajtb-v1-recap-day-body {
    padding: 0 14px 14px;
    color: #60718b;
    font-size: 13px;
    line-height: 1.65;
}

.ajtb-v1-recap-features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ajtb-v1-recap-features-grid > div {
    border: 1px solid #dce7f4;
    border-radius: 14px;
    background: #ffffff;
    padding: 14px;
}

.ajtb-v1-recap-features-grid h3 {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 900;
    color: #17304d;
}

.ajtb-v1-recap-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: #60718b;
    font-size: 13px;
    line-height: 1.55;
}

.ajtb-v1-recap-policy-timeline {
    display: grid;
    gap: 10px;
}

.ajtb-v1-recap-policy-timeline div {
    position: relative;
    padding: 10px 12px 10px 22px;
    border-radius: 12px;
    border: 1px solid #dce7f4;
    background: #ffffff;
    display: grid;
    gap: 4px;
}

.ajtb-v1-recap-policy-timeline div::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #0f79bf;
}

.ajtb-v1-recap-policy-timeline strong {
    color: #17304d;
    font-size: 13px;
    font-weight: 900;
}

.ajtb-v1-recap-policy-timeline span {
    color: #60718b;
    font-size: 12px;
    line-height: 1.55;
}

.ajtb-v1-recap-muted {
    margin: 0;
    color: #60718b;
    font-size: 13px;
    line-height: 1.65;
}

.ajtb-v1-recap-hint {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid #ffe0d7;
    background: #fff4f1;
    color: #8c2f17;
    font-size: 12px;
    font-weight: 700;
}

.ajtb-v1-recap-price {
    position: sticky;
    top: var(--ajtb-v1-rail-top);
    border: 1px solid #bcdaf5;
    box-shadow: 0 18px 32px rgba(14, 58, 90, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}

.ajtb-v1-recap-total {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid #9ecaf0;
    background: radial-gradient(circle at 90% 10%, rgba(29, 142, 255, 0.15), transparent 46%), linear-gradient(160deg, #0f4f79, #0e6ba4);
    box-shadow: 0 16px 28px rgba(12, 78, 124, 0.22);
}

.ajtb-v1-recap-total span {
    color: rgba(232, 243, 255, 0.95);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ajtb-v1-recap-total strong {
    color: #ffffff;
    font-size: clamp(34px, 3vw, 44px);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}

.ajtb-v1-recap-total small {
    font-size: 15px;
    font-weight: 900;
    color: #d8ecff;
}

.ajtb-v1-recap-price-detail {
    margin-top: 14px;
    border: 1px solid #d4e5f7;
    border-radius: 14px;
    background: #ffffff;
    padding: 12px;
    display: grid;
    gap: 8px;
}

.ajtb-v1-recap-price-line {
    padding: 10px 8px;
    border-radius: 10px;
    background: #f8fbff;
    border: 1px solid #e2ecf8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ajtb-v1-recap-price-line span {
    color: #415b79;
    font-size: 13px;
    font-weight: 800;
}

.ajtb-v1-recap-price-line strong {
    color: #123150;
    font-size: 15px;
    font-weight: 900;
}

.ajtb-v1-recap-price-line--total {
    border-color: #9ecaf0;
    background: linear-gradient(180deg, #eaf5ff, #dff0ff);
}

.ajtb-v1-recap-price-line--total span {
    color: #0f4f79;
    font-size: 14px;
}

.ajtb-v1-recap-price-line--total strong {
    font-size: 22px;
    line-height: 1;
}

.ajtb-v1-recap-price-line--total small {
    font-size: 13px;
    color: #1d4f78;
}

.ajtb-v1-recap-actions {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.ajtb-v1-recap-btn {
    min-height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
    border: 0;
}

.ajtb-v1-recap-btn--primary {
    color: #fff;
    background: linear-gradient(180deg, #1d8eff, #005ff7);
    box-shadow: 0 14px 22px rgba(0, 95, 247, 0.22);
}

.ajtb-v1-recap-submit {
    width: 100%;
    margin-top: 12px;
}

.ajtb-v1-recap-btn--ghost {
    color: #0f4f79;
    background: #eef7ff;
    border: 1px solid #cfe3f7;
}

.ajtb-v1-recap-note {
    margin: 12px 0 0;
    color: #6c7d95;
    font-size: 12px;
    line-height: 1.55;
}

.ajtb-v1-recap-finalize {
    padding: 18px;
}

.ajtb-v1-recap-form {
    display: grid;
    gap: 10px;
}

.ajtb-v1-recap-form-row label {
    display: block;
    margin: 0 0 6px;
    color: #6d7f99;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ajtb-v1-recap-form-row input {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid #dce7f4;
    background: #ffffff;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: #16304d;
}

.ajtb-v1-recap-companions {
    margin-top: 14px;
    border-top: 1px solid #edf3fb;
    padding-top: 12px;
}

.ajtb-v1-recap-companions-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.ajtb-v1-recap-companion-actions {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ajtb-v1-recap-companions-head h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 900;
    color: #17304d;
}

.ajtb-v1-recap-mini-btn {
    border: 1px solid #cfe3f7;
    background: #eef7ff;
    color: #0f4f79;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ajtb-v1-recap-mini-btn--prev {
    min-width: 124px;
}

.ajtb-v1-recap-mini-btn--next {
    min-width: 160px;
    min-height: 42px;
    color: #ffffff;
    border-color: #0d68db;
    background: linear-gradient(180deg, #2f8fff, #0d68db);
    box-shadow: 0 10px 18px rgba(13, 104, 219, 0.24);
}

.ajtb-v1-recap-mini-btn:hover {
    border-color: #a6cdee;
    background: #e6f3ff;
}

.ajtb-v1-recap-mini-btn--next:hover {
    border-color: #0a56b4;
    background: linear-gradient(180deg, #2b86f0, #0a56b4);
}

.ajtb-v1-recap-mini-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ajtb-v1-recap-companions-head h3 {
    letter-spacing: 0.01em;
}

.ajtb-v1-recap-companion-activities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.ajtb-v1-recap-activity-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: 1px solid #d7e7f7;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
    color: #16304d;
    cursor: pointer;
    user-select: none;
}

.ajtb-v1-recap-activity-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ajtb-v1-recap-activity-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ajtb-v1-recap-activity-toggle span::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1.5px solid #9db9d4;
    background: #ffffff;
    display: inline-block;
}

.ajtb-v1-recap-activity-toggle input:checked + span::before {
    border-color: #2c7be5;
    background: linear-gradient(180deg, #3b8cff 0%, #1d6fe6 100%);
    box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.15);
}

.ajtb-v1-recap-activity-toggle input:checked + span {
    color: #0f4f79;
}

.ajtb-v1-recap-activity-toggle:hover {
    border-color: #bcd8f2;
    background: #f7fbff;
}

.ajtb-v1-extras-assign {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #d6e6f6;
    display: grid;
    gap: 12px;
}

.ajtb-v1-extras-person {
    border: 1px solid #edf3fb;
    border-radius: 16px;
    background: #ffffff;
    padding: 12px;
}

.ajtb-v1-extras-person h3 {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 900;
    color: #17304d;
    letter-spacing: 0.01em;
}

.ajtb-v1-extras-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ajtb-v1-choice-list {
    display: grid;
    gap: 10px;
}

.ajtb-v1-choice-item {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px 12px;
    border: 1px solid #edf3fb;
    border-radius: 16px;
    background: #ffffff;
}

.ajtb-v1-choice-item strong {
    display: block;
    font-size: 13px;
    font-weight: 900;
    color: #17304d;
}

.ajtb-v1-choice-item small {
    display: block;
    color: #6b87a4;
    font-weight: 700;
    margin-top: 2px;
}

.ajtb-v1-choice-item input[type="radio"],
.ajtb-v1-choice-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.ajtb-v1-choice-price {
    font-weight: 900;
    color: #0f4f79;
    white-space: nowrap;
}

.ajtb-v1-room-alloc {
    display: grid;
    gap: 12px;
}

.ajtb-v1-room-alloc-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid #edf3fb;
    border-radius: 16px;
    background: #f7fbff;
}

.ajtb-v1-room-alloc-summary strong {
    color: #17304d;
}

.ajtb-v1-room-alloc-summary .ajtb-v1-room-alloc-badge {
    font-weight: 900;
    color: #0f4f79;
}

.ajtb-v1-room-alloc-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #edf3fb;
    border-radius: 16px;
    background: #ffffff;
}

.ajtb-v1-room-card {
    box-shadow: 0 10px 18px rgba(16, 54, 92, 0.05);
}

.ajtb-v1-room-alloc-row strong {
    display: block;
    font-size: 13px;
    font-weight: 900;
    color: #17304d;
}

.ajtb-v1-room-alloc-row small {
    display: block;
    color: #6b87a4;
    font-weight: 700;
    margin-top: 2px;
}

.ajtb-v1-room-alloc-row .ajtb-v1-room-pending {
    display: inline-flex;
    width: fit-content;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #f0c995;
    background: #fff4e8;
    color: #9e5300;
    font-size: 11px;
    font-weight: 900;
}

.ajtb-v1-room-stepper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid #dce7f4;
    border-radius: 999px;
    background: #ffffff;
}

.ajtb-v1-room-stepper button {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #cfe3f7;
    background: #eef7ff;
    color: #0f4f79;
    font-weight: 900;
    cursor: pointer;
}

.ajtb-v1-room-stepper button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.ajtb-v1-room-stepper span {
    min-width: 28px;
    text-align: center;
    font-weight: 900;
    color: #17304d;
}

.ajtb-v1-room-alloc-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

@keyframes ajtbV1StepReveal {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .ajtb-v1-choice-item {
        grid-template-columns: 18px 1fr;
        grid-template-areas:
            "chk main"
            ". price";
        align-items: start;
    }
    .ajtb-v1-choice-item input {
        grid-area: chk;
        margin-top: 2px;
    }
    .ajtb-v1-choice-item .ajtb-v1-choice-price {
        grid-area: price;
        justify-self: start;
        margin-left: 28px;
    }
}

.ajtb-v1-recap-companion-row {
    display: grid;
    grid-template-columns: 110px 1fr 1fr auto;
    grid-template-areas:
        "type first last remove"
        "acts acts acts acts";
    gap: 8px;
    margin-bottom: 8px;
    padding: 10px;
    border: 1px solid #edf3fb;
    border-radius: 16px;
    background: #ffffff;
}

.ajtb-v1-recap-companion-row [data-companion-type] {
    grid-area: type;
}
.ajtb-v1-recap-companion-row [data-companion-first] {
    grid-area: first;
}
.ajtb-v1-recap-companion-row [data-companion-last] {
    grid-area: last;
}
.ajtb-v1-recap-companion-row [data-companion-remove] {
    grid-area: remove;
}
.ajtb-v1-recap-companion-row [data-companion-activities] {
    grid-area: acts;
    margin-top: 6px;
}

.ajtb-v1-recap-companion-row select {
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid #dce7f4;
    background: #ffffff;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 900;
    color: #16304d;
}

.ajtb-v1-recap-companion-row input {
    min-height: 42px;
}

.ajtb-v1-recap-companion-row button {
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid #ffe0d7;
    background: #fff4f1;
    color: #8c2f17;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .ajtb-v1-recap-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ajtb-v1-recap-grid {
        grid-template-columns: 1fr;
    }
    .ajtb-v1-recap-price {
        position: static;
    }
    .ajtb-v1-recap-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .ajtb-v1-recap-steps {
        grid-template-columns: 1fr;
    }
    .ajtb-v1-recap-step-actions {
        align-items: stretch;
    }
    .ajtb-v1-step-actions-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .ajtb-v1-recap-mini-btn--prev,
    .ajtb-v1-recap-mini-btn--next {
        min-width: 0;
        width: 100%;
    }
    .ajtb-v1-recap-step-actions .ajtb-v1-recap-btn {
        width: 100%;
    }
    .ajtb-v1-recap-step-actions--final {
        justify-content: flex-start;
    }
    .ajtb-v1-recap-tour {
        grid-template-columns: 1fr;
        padding: 12px;
    }
    .ajtb-v1-recap-tour-media {
        min-height: 0;
        aspect-ratio: 16 / 9;
        height: auto;
    }
    .ajtb-v1-recap-hero-title {
        font-size: 24px;
    }
    .ajtb-v1-recap-dl {
        grid-template-columns: 1fr;
    }
    .ajtb-v1-recap-selection-head {
        grid-template-columns: 1fr;
    }
    .ajtb-v1-selection-groups {
        grid-template-columns: 1fr;
    }
    .ajtb-v1-selection-group dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .ajtb-v1-selection-group dd {
        text-align: left;
    }
    .ajtb-v1-recap-people-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .ajtb-v1-recap-hero-grid {
        grid-template-columns: 1fr;
    }
    .ajtb-v1-recap-features-grid {
        grid-template-columns: 1fr;
    }
    .ajtb-v1-recap-companion-row {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "type type"
            "first last"
            "remove remove"
            "acts acts";
    }
    .ajtb-v1-recap-companion-row select {
        grid-column: auto;
    }
    .ajtb-v1-recap-companion-row button {
        grid-column: auto;
    }
}

@media (max-width: 1200px) {
    .ajtb-v1-search-btn {
        min-height: 56px;
    }

    .ajtb-v1-layout {
        grid-template-columns: 1fr;
    }

    .ajtb-v1-sidebar {
        position: static;
    }

    .ajtb-v1-fallback-header__inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 14px 0;
    }

    .ajtb-v1-lowcost-btn {
        justify-self: start;
    }
}

@media (max-width: 991px) {
    .ajtb-v1-page {
        --ajtb-v1-rail-top: 168px;
        --ajtb-v1-day-scroll-offset: 150px;
    }

    .ajtb-v1-flight-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ajtb-v1-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 126px;
        gap: 12px;
        padding: 10px;
        border-radius: 18px;
    }

    .ajtb-v1-gallery--count-1 .ajtb-v1-gallery-item,
    .ajtb-v1-gallery--count-2 .ajtb-v1-gallery-item,
    .ajtb-v1-gallery--count-3 .ajtb-v1-gallery-item.is-featured,
    .ajtb-v1-gallery--count-4 .ajtb-v1-gallery-item.is-featured,
    .ajtb-v1-gallery--count-many .ajtb-v1-gallery-item.is-featured {
        grid-column: 1 / -1;
        grid-row: span 2;
    }

    .ajtb-v1-gallery--count-3 .ajtb-v1-gallery-item:not(.is-featured),
    .ajtb-v1-gallery--count-4 .ajtb-v1-gallery-item:not(.is-featured),
    .ajtb-v1-gallery--count-many .ajtb-v1-gallery-item:not(.is-featured) {
        grid-column: span 1;
    }

    .ajtb-v1-fallback-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ajtb-v1-main {
        padding-top: 18px;
    }

    .ajtb-v1-container {
        width: min(1260px, calc(100vw - 22px));
    }

    .ajtb-v1-search-btn {
        width: 100%;
        min-height: 50px;
        border-radius: 12px;
    }

    .ajtb-v1-title {
        max-width: 100%;
    }

    .ajtb-v1-tabs {
        flex-wrap: nowrap;
    }

    .ajtb-v1-page {
        --ajtb-v1-rail-top: 148px;
        --ajtb-v1-day-scroll-offset: 136px;
    }

    .ajtb-v1-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: 90px;
        gap: 8px;
        margin-top: 14px;
        padding: 8px;
        border-radius: 16px;
    }

    .ajtb-v1-gallery-item.is-featured,
    .ajtb-v1-gallery--count-1 .ajtb-v1-gallery-item {
        grid-column: 1 / -1;
        grid-row: span 2;
    }

    .ajtb-v1-gallery-item:not(.is-featured) {
        grid-column: span 1;
    }

    .ajtb-v1-day-card {
        padding-left: 32px;
    }

    .ajtb-v1-timeline::before {
        left: 12px;
    }

    .ajtb-v1-day-card::before {
        left: 3px;
    }

    .ajtb-v1-media-row {
        grid-template-columns: 1fr;
    }

    .ajtb-v1-media-thumb {
        width: 100%;
        min-height: 164px;
    }

    .ajtb-v1-optional-card {
        grid-template-columns: 1fr;
    }

    .ajtb-v1-optional-trigger {
        align-items: flex-start;
        flex-direction: column;
    }

    .ajtb-v1-optional-media img {
        height: 150px;
    }

    .ajtb-v1-optional-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .ajtb-v1-fallback-footer__grid {
        grid-template-columns: 1fr;
    }

    .ajtb-v1-fallback-footer form {
        flex-direction: column;
    }

    .ajtb-v1-floating-btn {
        right: 14px;
        bottom: 14px;
    }
}

/* Dates de depart passees : lisibles, jamais reservables. */
.ajtb-v1-search-select option:disabled,
.ajtb-v1-search-select option.ajtb-v1-date-expired {
    color: #9aa3ad;
}
.ajtb-v1-expired-departures {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
}
.ajtb-v1-expired-departures__label {
    font-weight: 700;
    color: #374151;
}
.ajtb-v1-expired-departures__date {
    padding: 2px 8px;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 600;
    white-space: nowrap;
}
