/* ==========================================================================
   Ajinsafro Traveler Home — home.css
   Matches the provided mockup: desert hero, search overlay, horizontal
   cards, 2×4 regions grid, 2×2 good-spots grid.
   ========================================================================== */

/* ── RESET inside plugin wrapper ─────────────────────────────────────────── */
.aj-home,
.aj-home *,
.aj-home *::before,
.aj-home *::after { box-sizing: border-box; margin: 0; padding: 0; }
.aj-home img { max-width: 100%; display: block; height: auto; }
.aj-home a   { text-decoration: none; color: inherit; }

.aj-home {
    --aj-brand-dark:   #0e3a5a;
    --aj-brand-blue:   #0083c4;
    --aj-brand-light:  #e6f3fa;
    --aj-brand-orange: #f37a1f;
    /* Variantes lisibles (WCAG AA, 4,5:1) : texte blanc sur fond, ou texte sur fond clair. */
    --aj-orange-a11y:  #c2410c;
    --aj-blue-a11y:    #006ba3;
    --aj-brand-yellow: #ffb300;
    --aj-brand-gray:   #f7f9fc;
    --aj-blue:    #0083c4;
    --aj-blue-d:  #006ba3;
    --aj-orange:  #f37a1f;
    --aj-green:   #3aaa35;
    --aj-red:     #e74c3c;
    --aj-dark:    #1f2937;
    --aj-gray:    #6b7280;
    --aj-light:   #f3f4f6;
    --aj-radius:  15px;
    --aj-shadow:  0 4px 20px rgba(0,0,0,.08);
    --aj-shadow-search: 0 10px 40px -10px rgba(0,0,0,.1);
    font-family: 'Poppins', "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--aj-dark);
    line-height: 1.55;
    overflow-x: hidden;
    background-color: transparent;
}

/* ==========================================================================
   Promotions compact slider overrides
   ========================================================================== */
.aj-promos {
    padding: 12px 0 18px;
}

.aj-promos .aj-section-title {
    margin: 0 0 12px;
    line-height: 1.3;
}

.aj-promos__frame {
    position: relative;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.aj-promos__toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
}

.aj-promos__track {
    gap: 14px;
    padding-bottom: 2px;
}

.aj-promo-slide {
    flex: 0 0 min(560px, calc(50% - 7px));
    min-width: 360px;
}

.aj-promo-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(118px, 34%) minmax(0, 1fr);
    align-items: stretch;
    min-height: clamp(170px, 17vw, 186px);
    height: clamp(170px, 17vw, 186px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: linear-gradient(135deg, #0e3a5a 0%, #145374 52%, #0f766e 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease;
}

.aj-promo-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.aj-promo-banner--visual-only {
    grid-template-columns: 1fr;
}

.aj-promo-banner__media {
    position: relative;
    min-width: 0;
    background: linear-gradient(135deg, rgba(191, 219, 254, 0.65) 0%, rgba(14, 58, 90, 0.1) 100%);
}

.aj-promo-banner__media img,
.aj-promo-banner__placeholder {
    width: 100%;
    height: 100%;
    display: block;
}

.aj-promo-banner__media img {
    object-fit: cover;
}

.aj-promo-banner__placeholder {
    background: linear-gradient(135deg, rgba(191, 219, 254, 0.9) 0%, rgba(96, 165, 250, 0.55) 100%);
}

.aj-promo-banner__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 18px 20px;
    color: #fff;
}

.aj-promo-banner__title {
    margin: 0;
    font-size: clamp(1rem, 1.45vw, 1.2rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.aj-promo-banner__subtitle {
    margin: 0;
    max-width: 34ch;
    font-size: .875rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
}

.aj-promo-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 4px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

@media (max-width: 1024px) {
    .aj-promo-slide {
        flex-basis: min(520px, 78vw);
        min-width: 320px;
    }
}

@media (max-width: 767.98px) {
    .aj-promos {
        padding: 10px 0 14px;
    }

    .aj-promos__frame {
        padding: 12px;
        border-radius: 20px;
    }

    .aj-promos__toolbar {
        margin-bottom: 8px;
    }

    .aj-promo-slide {
        flex: 0 0 88%;
        min-width: 0;
    }

    .aj-promo-banner {
        grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
        min-height: clamp(138px, 40vw, 156px);
        height: clamp(138px, 40vw, 156px);
        border-radius: 18px;
    }

    .aj-promo-banner__content {
        padding: 14px 14px 14px 16px;
        gap: 6px;
    }

    .aj-promo-banner__title {
        font-size: .95rem;
    }

    .aj-promo-banner__subtitle {
        font-size: .78rem;
        line-height: 1.35;
    }

    .aj-promo-banner__cta {
        padding: 7px 12px;
        font-size: .7rem;
    }
}

/* =======================================================================
   Promotions — split featured banner + right preview cards
   ======================================================================= */
.aj-promos--split {
    padding: 12px 0 22px;
}

.aj-promos__frame--split {
    min-height: 380px;
}

.aj-section-head--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.aj-promo-split {
    --aj-promo-accent: #0083c4;
    position: relative;
}

.aj-promo-split__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 14px;
    min-height: clamp(320px, 33vw, 430px);
}

.aj-promo-split--single .aj-promo-split__inner {
    grid-template-columns: minmax(0, 1fr);
}

.aj-promo-split__featured,
.aj-promo-split__featured-inner {
    height: 100%;
}

.aj-promo-split__featured-surface {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: clamp(320px, 33vw, 430px);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
    color: inherit;
    text-decoration: none;
}

.aj-promo-split__body {
    position: relative;
    width: 100%;
    height: 100%;
}

.aj-promo-split__media,
.aj-promo-split__media img,
.aj-promo-split__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.aj-promo-split__media img {
    object-fit: cover;
}

.aj-promo-split__fallback {
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.2), transparent 45%),
        linear-gradient(140deg, #0e3a5a 0%, #145374 55%, #0f766e 100%);
}

.aj-promo-split__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.05) 8%, rgba(15, 23, 42, 0.48) 56%, rgba(15, 23, 42, 0.82) 100%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.12) 50%, rgba(15, 23, 42, 0) 78%);
}

.aj-promo-split__content {
    position: absolute;
    left: clamp(18px, 2.4vw, 28px);
    right: clamp(18px, 2.4vw, 28px);
    bottom: clamp(18px, 2.6vw, 30px);
    z-index: 1;
    max-width: min(68%, 620px);
    color: #fff;
}

.aj-promo-split__title {
    display: block;
    margin: 0;
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-wrap: balance;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.aj-promo-split__title--link {
    color: inherit;
    text-decoration: none;
}

.aj-promo-split__title--link:hover {
    text-decoration: underline;
}

.aj-promo-split__desc {
    margin: 10px 0 0;
    font-size: clamp(0.9rem, 1.4vw, 1.02rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    max-width: 52ch;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.26);
}

.aj-promo-split__btn-wrap {
    display: inline-flex;
    margin-top: 14px;
}

.aj-promo-split__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: var(--aj-promo-accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.aj-promo-split__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.25);
}

.aj-promo-split__btn--text {
    background: rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.aj-promo-split__previews {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.aj-promo-split__preview {
    position: relative;
    display: block;
    width: 100%;
    flex: 1 1 0;
    min-height: 84px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #0e3a5a;
    padding: 0;
    color: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    transition: transform .2s ease, box-shadow .2s ease;
}

.aj-promo-split__preview:hover,
.aj-promo-split__preview:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    outline: none;
}

.aj-promo-split__preview-thumb,
.aj-promo-split__preview-thumb img,
.aj-promo-split__preview-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.aj-promo-split__preview-thumb img {
    object-fit: cover;
}

.aj-promo-split__preview-fallback {
    background: linear-gradient(145deg, #0e3a5a 0%, #145374 100%);
}

.aj-promo-split__preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.68) 100%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.26) 0%, rgba(15, 23, 42, 0.06) 100%);
}

.aj-promo-split__preview-label {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    max-height: calc(100% - 16px);
    overflow: hidden;
    text-align: center;
}

.aj-promo-split__preview[style*='--preview-accent'] {
    border-color: var(--preview-accent);
}

.aj-promo-split__rail {
    display: none;
}

@media (max-width: 991.98px) {
    .aj-promo-split__inner {
        grid-template-columns: minmax(0, 1fr) 82px;
    }

    .aj-promo-split__content {
        max-width: min(74%, 580px);
    }
}

@media (max-width: 767.98px) {
    .aj-promo-split__inner,
    .aj-promo-split--single .aj-promo-split__inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .aj-promo-split__featured-surface {
        min-height: 240px;
    }

    .aj-promo-split__content {
        max-width: 100%;
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .aj-promo-split__title {
        font-size: clamp(1.08rem, 4.8vw, 1.35rem);
    }

    .aj-promo-split__desc {
        margin-top: 8px;
        font-size: 0.86rem;
        line-height: 1.4;
    }

    .aj-promo-split__btn-wrap {
        margin-top: 10px;
    }

    .aj-promo-split__previews {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .aj-promo-split__preview {
        min-height: 96px;
    }
}

.aj-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

/* Restore container inside .aj-home (reset .aj-home * sets padding:0 and would override this) */
.aj-home .aj-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   0. CUSTOM HEADER (topbar + navbar)
   Header settings managed from Laravel admin /admin/settings/home-page
   Modern AjinSafro Design
   ========================================================================== */

/* Hide theme header on home when custom header is active */
body.aj-custom-header #header,
body.aj-custom-header .site-header,
body.aj-custom-header .topbar,
body.aj-custom-header .header-main,
body.aj-custom-header > header:not(.aj-header),
body.aj-custom-header #masthead {
    display: none !important;
}

.aj-header {
    width: 100%;
    z-index: 1000;
    position: relative;
}

/* ══════════════════════════════════════════════════════════════════════════
   TOPBAR — Dark blue bar with socials, contact, auth
   ══════════════════════════════════════════════════════════════════════════ */
.aj-topbar {
    background: #0e3a5a;
    color: rgba(255,255,255,.9);
    font-size: 11px;
    line-height: 1;
}

.aj-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 16px;
}

.aj-topbar__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Social Icons Group */
.aj-topbar__socials {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.aj-topbar__social-link {
    color: rgba(255,255,255,.9);
    transition: color .2s, transform .2s;
}

.aj-topbar__social-link:hover {
    color: #0083c4;
    transform: scale(1.1);
}

/* Contact Info */
.aj-topbar__contact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(255,255,255,.2);
}

.aj-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.9);
}

.aj-topbar__item i {
    opacity: .8;
}

/* Right Side */
.aj-topbar__right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Auth Links in Topbar */
.aj-topbar__auth {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 12px;
    margin-left: 8px;
    border-left: 1px solid rgba(255,255,255,.2);
}

.aj-topbar__auth-link {
    padding: 6px 12px;
    color: rgba(255,255,255,.9);
    font-weight: 500;
    letter-spacing: .3px;
    border-radius: 4px;
    transition: background .2s, color .2s;
}

.aj-topbar__auth-link:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}

.aj-topbar .aj-topbar__auth-link--signup {
    background: var(--aj-blue-a11y, #006ba3);
    color: #fff;
    border-radius: 20px;
    padding: 6px 16px;
}

.aj-topbar .aj-topbar__auth-link--signup:hover {
    background: var(--aj-brand-dark, #0e3a5a);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════════════════
   NAVBAR — White bar with logo, menu, low-cost button
   ══════════════════════════════════════════════════════════════════════════ */
.aj-navbar {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.aj-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 80px;
}

.aj-navbar__logo {
    flex: 0 0 auto;
}

.aj-navbar__logo-img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.aj-navbar__brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--aj-blue);
}

/* Burger (mobile only) */
.aj-navbar__burger {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 24px;
    color: #4b5563;
    border-radius: 8px;
    transition: background .2s, color .2s;
}

.aj-navbar__burger:hover {
    background: #f3f4f6;
    color: #0083c4;
}

/* Menu list */
.aj-navbar__menu {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.aj-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.aj-nav-list > li {
    position: relative;
}

.aj-nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    transition: color .2s, background .2s;
    text-transform: uppercase;
    letter-spacing: .3px;
    border-radius: 8px;
}

.aj-nav-list > li > a i:not(.aj-caret) {
    font-size: 15px;
    color: #9ca3af;
    transition: color .2s;
}

.aj-nav-list > li > a:hover,
.aj-nav-list > li.aj-active > a,
.aj-nav-list > li.current-menu-item > a,
.aj-nav-list > li.current_page_item > a {
    color: #0083c4;
    background: rgba(0,131,196,.06);
}

.aj-nav-list > li > a:hover i:not(.aj-caret),
.aj-nav-list > li.aj-active > a i:not(.aj-caret) {
    color: #0083c4;
}

.aj-caret {
    font-size: 10px;
    opacity: .6;
    margin-left: 4px;
    transition: transform .2s;
}

/* Dropdown */
.aj-sub-menu,
.aj-nav-list .sub-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.12);
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 100;
}

.aj-has-sub:hover > .aj-sub-menu,
.aj-nav-list > li.menu-item-has-children:hover > .sub-menu,
.aj-has-sub:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.aj-has-sub:hover > a .aj-caret {
    transform: rotate(180deg);
}

.aj-sub-menu li a,
.aj-nav-list .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: .84rem;
    color: #374151;
    transition: background .15s, color .15s;
}

.aj-sub-menu li a:hover,
.aj-nav-list .sub-menu li a:hover {
    background: #f3f4f6;
    color: #0083c4;
}

/* ══════════════════════════════════════════════════════════════════════════
   LOW COST BUTTON — Orange gradient with fire icon
   ══════════════════════════════════════════════════════════════════════════ */
.aj-navbar__lowcost {
    flex-shrink: 0;
}

.aj-lowcost-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f37a1f, #ef4444);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(243,122,31,.3);
    transition: transform .2s, box-shadow .2s, filter .2s;
    position: relative;
    overflow: hidden;
}

.aj-lowcost-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243,122,31,.4);
    filter: brightness(1.05);
    color: #fff;
}

.aj-lowcost-btn__icon {
    color: #fcd34d;
    animation: aj-fire-pulse 1.5s ease-in-out infinite;
}

@keyframes aj-fire-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Glass shine animation */
.aj-lowcost-btn--animate::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.4) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-150%) skewX(-25deg);
    animation: aj-glass-shine 3s infinite;
    pointer-events: none;
}

@keyframes aj-glass-shine {
    0% { transform: translateX(-150%) skewX(-25deg); }
    20% { transform: translateX(250%) skewX(-25deg); }
    100% { transform: translateX(250%) skewX(-25deg); }
}

/* Auth links — always visible, never squeezed by menu */
.aj-navbar__auth {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.aj-navbar__auth .aj-auth-link {
    white-space: nowrap;
}

.aj-auth-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--aj-dark);
    padding: 6px 14px;
    border-radius: 6px;
    transition: background .2s, color .2s;
    white-space: nowrap;
}

.aj-auth-link:hover {
    color: var(--aj-blue);
}

.aj-auth-link--signup {
    background: var(--aj-blue);
    color: #fff;
}

.aj-auth-link--signup:hover {
    background: var(--aj-blue-d);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════════════════
   DESKTOP (>= 1280px): Full layout
   ══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
    .aj-header__toggle,
    .aj-header__drawer .aj-drawer__header,
    .aj-header__drawer .aj-drawer__auth,
    .aj-header__auth--mobile,
    .aj-drawer__lowcost {
        display: none !important;
    }
    .aj-navbar__inner {
        display: flex !important;
        align-items: center;
        gap: 24px;
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }
    .aj-header__drawer {
        display: flex !important;
        flex: 1;
        min-width: 0;
        position: static;
        width: auto;
        height: auto !important;
        max-height: none !important;
        background: transparent;
        overflow: visible !important;
        transform: none;
        visibility: visible;
        justify-content: center;
    }
    .aj-navbar__menu {
        display: flex !important;
        justify-content: center;
        min-width: 0;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    .aj-nav-list {
        flex-wrap: nowrap;
        gap: 4px;
        justify-content: center;
    }
    .aj-header__lowcost--desktop {
        display: flex !important;
        flex-shrink: 0;
    }
}

/* Auth in drawer (block style) */
.aj-auth-link--block {
    display: block;
    text-align: center;
    padding: 12px 16px;
}

/* Drawer: base (desktop) — menu visible inside navbar; header/auth hidden by media above */
.aj-drawer {
    display: flex;
    flex: 1;
    min-width: 0;
}
.aj-drawer__header,
.aj-drawer__auth,
.aj-drawer__lowcost {
    display: none;
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.aj-hero {
    position: relative;
    width: 100%;
    /* Aligne sur le CSS critique en ligne : une valeur differente ici
       redimensionnerait le hero au chargement de cette feuille (CLS). */
    min-height: clamp(520px, 72vh, 760px);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 16px 60px;
}

.aj-hero__media,
.aj-hero__video,
.aj-hero__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.aj-hero__media { z-index: 0; overflow: hidden; }
.aj-hero__video { object-fit: cover; }

/* Poster = element LCP peint des le HTML ; la video passe au-dessus en fondu
   une fois qu'elle joue reellement (classe posee par home.js). */
.aj-hero__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.aj-hero__video { z-index: 1; opacity: 0; transition: opacity .4s ease; }
.aj-hero__video.is-playing { opacity: 1; }

.aj-hero__iframe {
    border: 0;
    pointer-events: none;
    transform: scale(1.2);
    transform-origin: center center;
}

.aj-hero__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.28);
    z-index: 1;
}

.aj-hero__center {
    position: relative; z-index: 2;
    text-align: center;
    padding: 60px 20px 30px;
}

.aj-hero__title {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 800;
    font-style: italic;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
    line-height: 1.25;
}

.aj-hero__sub {
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    font-weight: 600;
    font-style: italic;
    color: rgba(255,255,255,.92);
    margin-top: 6px;
    text-shadow: 0 1px 6px rgba(0,0,0,.3);
}

.aj-hero__cta-wrap { margin-top: 18px; }

.aj-hero__cta {
    display: inline-block;
    padding: 10px 18px;
    background: var(--aj-orange);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    transition: background .2s;
}

.aj-hero__cta:hover { background: #cf6310; color: #fff; }

/* ── 2. FLOATING SEARCH BAR ───────────────────────────────────────────── */
.aj-search-float {
    position: relative;
    margin: -80px auto 0;
    width: 91.67%;
    max-width: 1024px;
    z-index: 20;
}

.aj-search-card {
    background: #fff;
    border-radius: var(--aj-radius);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,.1);
    overflow: visible !important;
    border: 1px solid #f3f4f6;
    transition: all .3s ease;
}

.aj-search-native {
    background: #fff;
    border-radius: var(--aj-radius);
    box-shadow: 0 4px 24px rgba(0,0,0,.14);
    padding: 14px;
}

.aj-search-native * {
    max-width: 100%;
}

.aj-search-native .container,
.aj-search-native .st-search-form,
.aj-search-native .search-form,
.aj-search-native form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Tabs */
.aj-search__tabs {
    display: flex;
    background: #f0f1f3;
    border-radius: var(--aj-radius) var(--aj-radius) 0 0;
    overflow-x: auto;
}

.aj-tab {
    flex: 0 0 auto;
    padding: 12px 22px;
    border: none;
    background: transparent;
    font-size: .88rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, color .2s;
    border-radius: var(--aj-radius) var(--aj-radius) 0 0;
}

.aj-tab:hover { background: #e4e5e7; color: var(--aj-blue); }

.aj-tab--on {
    background: var(--aj-orange);
    color: #fff;
}
.aj-tab--on:hover { background: #cf6310; color: #fff; }

/* Form row */
.aj-search__form {
    display: flex;
    align-items: center;
    padding: 0;
    border-top: 1px solid #eee;
}

.aj-sf {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    flex: 1 1 0;
    min-width: 0;
}

.aj-sf__ico { flex-shrink: 0; display: flex; }

.aj-sf__txt { display: flex; flex-direction: column; min-width: 0; }
.aj-sf__txt small { font-size: .7rem; color: #999; text-transform: uppercase; letter-spacing: .3px; font-weight: 600; }
.aj-sf__txt input {
    border: none; outline: none; background: transparent;
    font-size: .88rem; color: var(--aj-dark);
    padding: 2px 0; width: 100%;
}
.aj-sf__txt input::placeholder { color: #aaa; }

.aj-sep { width: 1px; height: 36px; background: #e0e0e0; flex-shrink: 0; display: block; }

.aj-sf--more { flex: 0 0 auto; }
.aj-more-btn {
    border: 1px solid var(--aj-blue); background: transparent;
    color: var(--aj-blue); padding: 6px 16px; border-radius: 6px;
    font-size: .82rem; font-weight: 600; cursor: pointer;
    white-space: nowrap;
}
.aj-more-btn:hover { background: var(--aj-blue); color: #fff; }

.aj-search__btn {
    display: flex; align-items: center; gap: 8px;
    background: var(--aj-blue); color: #fff; border: none;
    padding: 0 28px; height: 100%; min-height: 58px;
    font-size: .95rem; font-weight: 700; cursor: pointer;
    border-radius: 0 0 var(--aj-radius) 0;
    white-space: nowrap;
    transition: background .2s;
}
.aj-search__btn:hover { background: var(--aj-blue-d); }

/* ==========================================================================
   3. OFFRES DE DERNIÈRE MINUTE
   ========================================================================== */
.aj-lm {
    padding: 20px 0 24px;
    background: transparent;
}

.aj-lm__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.aj-section-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--aj-blue);
    margin: 0;
}

.aj-section-title--green { color: var(--aj-green); }

.aj-lm__badge {
    background: var(--aj-blue);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.aj-lm__nav {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

.aj-arrow {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #555;
    transition: border-color .2s, color .2s;
}
.aj-arrow:hover { border-color: var(--aj-blue); color: var(--aj-blue); }

/* Slider track */
.aj-lm__slider { overflow: hidden; }

.aj-lm__track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 8px;
}
.aj-lm__track::-webkit-scrollbar { display: none; }

/* Card */
.aj-card {
    flex: 0 0 calc(33.333% - 15px);
    min-width: 280px;
    scroll-snap-align: start;
}

.aj-card__a {
    display: block;
    background: #fff;
    border-radius: var(--aj-radius);
    overflow: hidden;
    box-shadow: var(--aj-shadow);
    transition: transform .22s, box-shadow .22s;
}
.aj-card__a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,.13);
}

.aj-card__top {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #ddd;
}

.aj-card__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.aj-card__ph {
    width: 100%; height: 100%;
    background: linear-gradient(135deg,#ccc,#aaa);
}

.aj-card__badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--aj-red);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 4px;
    text-transform: capitalize;
}

.aj-card__bot {
    padding: 14px 16px 16px;
}

.aj-card__loc {
    display: block;
    font-size: .78rem;
    color: var(--aj-gray);
    margin-bottom: 4px;
}

.aj-card__title {
    font-size: .98rem;
    font-weight: 600;
    color: var(--aj-dark);
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aj-card__desc {
    font-size: .82rem;
    color: var(--aj-gray);
    line-height: 1.45;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aj-card__foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.aj-card__stars { display: flex; gap: 1px; }
.aj-s { font-style: normal; font-size: .92rem; }
.aj-s--on   { color: #ffc107; }
.aj-s--half { color: #ffc107; opacity: .55; }
.aj-s--off  { color: #ddd; }

.aj-card__price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--aj-orange);
    white-space: nowrap;
}

/* ==========================================================================
   4. DESTINATIONS PAR RÉGION
   ========================================================================== */
.aj-regions {
    padding: 20px 0 24px;
    background: transparent;
}

.aj-regions .aj-section-title { margin-bottom: 12px; }

.aj-regions__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.aj-reg {
    position: relative;
    display: block;
    border-radius: var(--aj-radius);
    overflow: hidden;
    height: 160px;
    box-shadow: var(--aj-shadow);
    transition: transform .22s, box-shadow .22s;
}
.aj-reg:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.aj-reg__img {
    width: 100% !important; height: 100% !important;
    object-fit: cover;
    transition: transform .35s;
}
.aj-reg:hover .aj-reg__img { transform: scale(1.05); }

.aj-reg__ph {
    width: 100%; height: 100%;
    background: linear-gradient(135deg,#b0c4de,#7a9cc6);
}

.aj-reg__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    color: #fff;
    font-size: .95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-shadow: 0 2px 8px rgba(0,0,0,.45);
    background: linear-gradient(transparent 30%, rgba(0,0,0,.35) 100%);
}

/* ==========================================================================
   5. LES BONS COINS
   ========================================================================== */
.aj-spots {
    padding: 20px 0 24px;
    background: transparent;
}

.aj-spots .aj-section-title { margin-bottom: 12px; }

.aj-spots__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.aj-spot {
    position: relative;
    display: block;
    border-radius: var(--aj-radius);
    overflow: hidden;
    height: 220px;
    box-shadow: var(--aj-shadow);
    transition: transform .22s, box-shadow .22s;
}
.aj-spot:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.aj-spot__img {
    width: 100% !important; height: 100% !important;
    object-fit: cover;
    transition: transform .35s;
}
.aj-spot:hover .aj-spot__img { transform: scale(1.05); }

.aj-spot__ph {
    width: 100%; height: 100%;
    background: linear-gradient(135deg,#d4a574,#a67c52);
}

.aj-spot__ov {
    position: absolute; inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    background: linear-gradient(transparent 40%, rgba(0,0,0,.55) 100%);
}

.aj-spot__t {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.aj-spot__s {
    color: rgba(255,255,255,.85);
    font-size: .88rem;
    margin: 4px 0 0;
    text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

/* ==========================================================================
   6. FOOTER NEWSLETTER + PAYMENT ICONS
   ========================================================================== */
.aj-footer-nl {
    padding: 24px 0 24px;
    background: rgba(255, 255, 255, 0.85);
    border-top: 1px solid #eee;
}

.aj-footer-nl__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1.5fr;
    gap: 30px;
    align-items: start;
}

.aj-fnl-col__h {
    font-size: .92rem;
    font-weight: 700;
    color: var(--aj-dark);
    margin: 0 0 14px;
    text-transform: none;
}

.aj-fnl-col__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aj-fnl-col__list li {
    margin-bottom: 8px;
}

.aj-fnl-col__list a {
    font-size: .82rem;
    color: var(--aj-gray);
    transition: color .2s;
}

.aj-fnl-col__list a:hover {
    color: var(--aj-blue);
}

/* Newsletter box */
.aj-nl-box {
    background: var(--aj-light);
    border-radius: var(--aj-radius);
    padding: 24px;
    position: relative;
}

.aj-nl-box__ico {
    position: absolute;
    top: -18px;
    right: 20px;
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
}

.aj-nl-box__h {
    font-size: .95rem;
    font-weight: 700;
    color: var(--aj-blue);
    margin: 0 0 6px;
}

.aj-nl-box__p {
    font-size: .78rem;
    color: var(--aj-gray);
    margin: 0 0 14px;
    line-height: 1.5;
}

.aj-nl-box__form {
    display: flex;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.aj-nl-box__form input[type="email"] {
    flex: 1;
    border: 1px solid #ddd;
    border-right: none;
    padding: 10px 14px;
    font-size: .85rem;
    outline: none;
    border-radius: 6px 0 0 6px;
    background: #fff;
    color: var(--aj-dark);
}

.aj-nl-box__form input[type="email"]::placeholder {
    color: #aaa;
}

.aj-nl-box__form button {
    flex-shrink: 0;
    padding: 10px 22px;
    background: var(--aj-green);
    color: #fff;
    border: none;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 6px 6px 0;
    letter-spacing: .3px;
    transition: background .2s;
}

.aj-nl-box__form button:hover {
    background: #2e9429;
}

/* Payment bar */
.aj-payments {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid #eee;
    text-align: center;
}

.aj-payments__txt {
    font-size: .78rem;
    color: var(--aj-gray);
    margin: 0 0 12px;
}

.aj-payments__icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.aj-pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 700;
    color: #555;
    background: #fff;
    letter-spacing: .3px;
}

/* ==========================================================================
   7. BACKGROUND PATTERN — Islamic geometric pattern on left/right margins only
   body::before = pattern layer (fixed, covers entire page)
   body::after  = white center overlay to hide pattern in content area
   ========================================================================== */
body.aj-has-bg-pattern {
    background-color: #f8fafc;
    position: relative;
}

/* Sections sous le bandeau : non mises en page tant qu'elles sont hors écran. Chaque feuille
   différée qui arrive déclenche un recalcul de mise en page ; limité au premier écran, il
   coûte moins (TBT mobile 650-820 ms → 300-560 ms dans Lighthouse, processeur ×10).
   `auto` dans contain-intrinsic-size retient la hauteur réelle une fois la section affichée. */
main#aj-main > section:not(.aj-hero),
.aj-footer-v2 {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

/* Pattern layer — covers entire page */
body.aj-has-bg-pattern::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-repeat: repeat;
    background-size: 300px;
    opacity: 0.2;
    z-index: -2;
    pointer-events: none;
}

/* Le motif (85 Ko) n'est demandé qu'après l'événement load, via home.js : il ne concurrence plus
   l'image du bandeau, élément LCP. */
body.aj-has-bg-pattern.aj-bg-ready::before {
    background-image: url('../img/motif-geometrique.webp');
}

/* White center overlay — hides pattern in content area, shows on margins */
body.aj-has-bg-pattern::after {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1320px;
    max-width: calc(100vw - 80px);
    height: 100vh;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 1) 3%, 
        rgba(255, 255, 255, 1) 97%, 
        rgba(255, 255, 255, 0) 100%
    );
    z-index: -1;
    pointer-events: none;
}

/* Responsive: adjust center overlay width */
@media (max-width: 1400px) {
    body.aj-has-bg-pattern::after {
        width: calc(100vw - 120px);
        max-width: calc(100vw - 60px);
    }
}

@media (max-width: 768px) {
    body.aj-has-bg-pattern::after {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 20px);
    }
    body.aj-has-bg-pattern::before {
        background-size: 200px;
        opacity: 0.15;
    }
}

.aj-home-wrap {
    position: relative;
    min-height: 100vh;
    overflow: visible;
}

.aj-home {
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* ==========================================================================
   8. ANIMATIONS — Glass shine, fade-in, ribbon
   ========================================================================== */
@keyframes aj-fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes aj-glass-shine {
    0%   { transform: translateX(-150%) skewX(-25deg); }
    100% { transform: translateX(250%) skewX(-25deg); }
}
.aj-fade-in { animation: aj-fadeIn .3s ease-in-out; }

.aj-hover-glass {
    position: relative;
    overflow: hidden;
}
.aj-hover-glass::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 60%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-150%) skewX(-25deg);
    pointer-events: none;
    z-index: 20;
}
.aj-hover-glass:hover::after {
    animation: aj-glass-shine .8s ease-in-out forwards;
}

.aj-ribbon {
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    overflow: hidden;
    z-index: 10;
}
.aj-ribbon span {
    position: absolute;
    display: block;
    width: 120px;
    padding: 4px 0;
    background-color: var(--aj-brand-orange, #f37a1f);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    left: -10px;
    top: 18px;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* ==========================================================================
   9. MODERN SEARCH TABS — Dark tabbed search widget
   ========================================================================== */
.aj-search-tabs {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: var(--aj-radius) var(--aj-radius) 0 0;
    background: var(--aj-brand-dark, #0e3a5a);
    font-size: .8rem;
    font-weight: 600;
    scrollbar-width: none;
}
.aj-search-tabs::-webkit-scrollbar { display: none; }

.aj-search-tab {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background .3s;
}
.aj-search-tab:hover { background: rgba(255,255,255,.1); }
.aj-search-tab i { opacity: .8; }

.aj-search-tab--active {
    background: var(--aj-orange-a11y, #c2410c);
}
.aj-search-tab--active:hover {
    background: var(--aj-orange-a11y, #c2410c);
}

.aj-search-forms { padding: 8px 12px; }

.aj-search-form {
    display: none;
}
.aj-search-form--active {
    display: flex;
    flex-direction: column;
    animation: aj-fadeIn .3s ease-in-out;
}

.aj-search-form__row {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--aj-radius);
    overflow: visible;
}

.aj-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    gap: 12px;
    cursor: text;
    transition: background .15s;
}
.aj-search-field:hover { background: #f9fafb; }
.aj-search-field + .aj-search-field {
    border-left: 1px solid #f3f4f6;
}

.aj-search-field__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    transition: transform .15s;
}
.aj-search-field:hover .aj-search-field__icon { transform: scale(1.1); }

.aj-search-field__icon--orange { background: #fff7ed; color: var(--aj-brand-orange, #f37a1f); }
.aj-search-field__icon--blue   { background: #eff6ff; color: var(--aj-brand-blue, #0083c4); }
.aj-search-field__icon--purple { background: #faf5ff; color: #9333ea; }
.aj-search-field__icon--green  { background: #f0fdf4; color: #16a34a; }
.aj-search-field__icon--red    { background: #fef2f2; color: #ef4444; }
.aj-search-field__icon--pink   { background: #fdf2f8; color: #db2777; }
.aj-search-field__icon--gray   { background: #f9fafb; color: #6b7280; }

.aj-search-field__content { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.aj-search-field__label {
    font-size: 10px;
    color: #6b7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 2px;
}
.aj-search-field__input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--aj-brand-dark, #0e3a5a);
    width: 100%;
    padding: 0;
    font-family: inherit;
}
.aj-search-field__input::placeholder { color: #d1d5db; }
.aj-search-field__text {
    font-size: 14px;
    font-weight: 600;
    color: var(--aj-brand-dark, #0e3a5a);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.aj-search-field__caret { color: #d1d5db; font-size: 12px; margin-left: 8px; }

.aj-search-submit {
    padding: 8px;
    flex-shrink: 0;
}
.aj-search-submit__btn {
    width: 100%;
    min-width: 160px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--aj-brand-blue, #0083c4), #00b4db);
    color: #fff;
    border: none;
    border-radius: var(--aj-radius);
    font-size: .95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,131,196,.25);
    transition: filter .2s, box-shadow .2s;
}
.aj-search-submit__btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(0,131,196,.35);
}

.aj-search-field {
    position: relative;
}

.aj-search-field--open {
    z-index: 80;
}

.aj-search-field__text {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.aj-search-popover {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 12px);
    left: 0;
    min-width: 340px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
}

.aj-search-popover[hidden] {
    display: none !important;
}

.aj-search-date-popover {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 380px;
}

.aj-search-date-popover label,
.aj-search-class {
    display: grid;
    gap: 6px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.aj-search-date-popover input,
.aj-search-class select {
    min-height: 42px;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    padding: 0 10px;
    color: #0f172a;
    font-size: 14px;
}

.aj-search-guests-popover {
    display: grid;
    gap: 12px;
}

.aj-search-counter {
    display: grid;
    grid-template-columns: 1fr 34px 32px 34px;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}

.aj-search-counter button {
    width: 34px;
    height: 34px;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    background: #f8fafc;
    color: #0e3a5a;
    cursor: pointer;
    font-weight: 800;
}

.aj-search-popover__done {
    grid-column: 1 / -1;
    min-height: 40px;
    border: 0;
    border-radius: 12px;
    background: var(--aj-brand-orange, #f37a1f);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}

.aj-prepare-page {
    min-height: 62vh;
    display: grid;
    place-items: center;
    padding: 90px 0;
    background: linear-gradient(135deg, #eef8ff 0%, #fff7ed 100%);
}

.aj-prepare-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 46px;
    border: 1px solid #e6edf5;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(14, 58, 90, .14);
    text-align: center;
}

.aj-prepare-kicker {
    color: var(--aj-brand-orange, #f37a1f);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.aj-prepare-card h1 {
    margin: 10px 0 12px;
    color: var(--aj-brand-dark, #0e3a5a);
    font-size: clamp(2rem, 5vw, 3.25rem);
}

.aj-prepare-card p {
    color: #64748b;
    font-size: 18px;
    line-height: 1.65;
}

.aj-prepare-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 24px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--aj-brand-blue, #0083c4), #00b4db);
    color: #fff !important;
    font-weight: 800;
}

/* ==========================================================================
   10. MODERN CARD V2 — Mockup card design with DHS price, VOIR L'OFFRE
   ========================================================================== */
.aj-card2 {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
}
.aj-card2:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,.13);
}

.aj-card2__image {
    position: relative;
    height: 176px;
    overflow: hidden;
}
.aj-card2__image img,
.aj-catalog-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.aj-card2:hover .aj-card2__image img,
.aj-card2:hover .aj-catalog-card__img { transform: scale(1.1); }

.aj-card2__badge {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.aj-card2__badge--info {
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(4px);
    color: var(--aj-brand-blue, #0083c4);
    border: 1px solid rgba(0,131,196,.1);
}
.aj-card2__badge--urgent {
    background: #ef4444;
    color: #fff;
}
.aj-card2__badge--promo {
    background: #16a34a;
    color: #fff;
}

.aj-card2__body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.aj-card2__title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5rem;
}

.aj-card2__desc {
    font-size: 10px;
    color: #9ca3af;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5rem;
}

.aj-card2__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #6b7280;
    margin-bottom: 8px;
}
.aj-card2__location i { color: var(--aj-brand-blue, #0083c4); }

.aj-card2__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.aj-card2__category {
    font-size: 10px;
    font-weight: 700;
    color: var(--aj-brand-orange, #f37a1f);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.aj-card2__stars {
    display: flex;
    gap: 1px;
    font-size: 10px;
    color: var(--aj-brand-yellow, #ffb300);
}

.aj-card2__footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
}

.aj-card2__price-label {
    font-size: 9px;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
    font-style: italic;
}
.aj-card2__price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--aj-brand-dark, #0e3a5a);
    line-height: 1;
    display: flex;
    align-items: baseline;
    letter-spacing: -1px;
}
.aj-card2__price-currency {
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
}
.aj-card2__price-note {
    font-size: 8px;
    color: #9ca3af;
    margin-top: 4px;
    font-weight: 500;
    font-style: italic;
}
.aj-card2__cta {
    display: inline-block;
    background: var(--aj-brand-orange, #f37a1f);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
    text-decoration: none;
}
.aj-card2__cta:hover {
    background: #cc4800;
    color: #fff;
}

/* ==========================================================================
   11. ACCOMMODATIONS SECTION — "Découvrez des séjours uniques"
   ========================================================================== */
.aj-accom { padding: 20px 0 24px; }

/* ==========================================================================
   12. DESTINATIONS NEW LAYOUT — Featured tile + 2-line carousel
   ========================================================================== */
.aj-dest-new {
    display: flex;
    gap: 16px;
}

.aj-dest-featured {
    width: 25%;
    min-width: 200px;
    position: relative;
    border-radius: var(--aj-radius);
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    min-height: 300px;
}
.aj-dest-featured img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.aj-dest-featured:hover img { transform: scale(1.1); }

.aj-dest-featured__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s;
}
.aj-dest-featured:hover .aj-dest-featured__overlay {
    background: rgba(0,0,0,.3);
}

.aj-dest-featured__info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.aj-dest-featured__flag {
    width: 32px;
    height: 20px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    border: 1px solid rgba(255,255,255,.2);
}
.aj-dest-featured__name {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.aj-dest-carousel {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.aj-dest-carousel::-webkit-scrollbar { display: none; }

.aj-dest-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-auto-flow: column;
    gap: 16px;
    height: 400px;
}

.aj-dest-tile {
    min-width: 200px;
    position: relative;
    border-radius: var(--aj-radius);
    overflow: hidden;
    cursor: pointer;
}
.aj-dest-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.aj-dest-tile:hover img { transform: scale(1.1); }

.aj-dest-tile__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    transition: background .3s;
}
.aj-dest-tile:hover .aj-dest-tile__overlay {
    background: rgba(0,0,0,.3);
}

.aj-dest-tile__info { display: flex; align-items: center; gap: 12px; }
.aj-dest-tile__flag {
    width: 28px; height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    border: 1px solid rgba(255,255,255,.2);
}
.aj-dest-tile__name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ==========================================================================
   13. GOOD SPOTS V2 — 4-column grid with FA icons overlay
   ========================================================================== */
.aj-spots2__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.aj-spot2 {
    position: relative;
    display: block;
    border-radius: var(--aj-radius);
    overflow: hidden;
    height: 208px;
    cursor: pointer;
    transition: transform .22s, box-shadow .22s;
}
.aj-spot2:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.aj-spot2 img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.aj-spot2:hover img { transform: scale(1.1); }

.aj-spot2__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    transition: background .3s;
}
.aj-spot2:hover .aj-spot2__overlay { background: rgba(0,0,0,.3); }

.aj-spot2__icon {
    font-size: 2rem;
    color: var(--aj-brand-orange, #f37a1f);
    margin-bottom: 12px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.2));
}

.aj-spot2__title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 4px;
}

.aj-spot2__subtitle {
    color: rgba(255,255,255,.9);
    font-size: 11px;
    font-weight: 500;
    margin: 0;
}

/* ==========================================================================
   14. PROMOTIONAL BANNERS — "Destinations de ce mois"
   Force visible: section exists in DOM but can be hidden by theme/overflow.
   ========================================================================== */
.aj-promos {
    position: relative;
    z-index: 2;
    padding: 14px 0 18px;
    margin-top: 0;
    background-color: transparent;
    overflow: visible;
    scroll-margin-top: 24px;
}

.aj-promos .aj-container {
    padding-top: 0;
}

.aj-promos .aj-section-title {
    margin: 0 0 10px;
    padding-top: 0;
    font-size: clamp(1.4rem, 2vw, 1.7rem);
    font-weight: 700;
    color: var(--aj-blue, #0083c4);
    line-height: 1.35;
    min-height: 1.35em;
    display: block;
}

.aj-promos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.aj-promo-card {
    display: block;
    position: relative;
    border-radius: 12px;
    padding: 24px;
    color: #fff;
    overflow: hidden;
    height: 208px;
    min-height: 208px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    cursor: pointer;
    transition: transform .3s;
    text-decoration: none;
}
.aj-promo-card:hover { transform: translateY(-4px); }

.aj-promo-card--blue {
    background: linear-gradient(135deg, #42a5f5, #0277bd);
}
.aj-promo-card--orange {
    background: linear-gradient(135deg, #ff9800, #ef6c00);
}
.aj-promo-card--dark-blue {
    background: linear-gradient(135deg, #0288d1, #01579b);
}

.aj-promo-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.aj-promo-card__title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
}

.aj-promo-card__text {
    font-size: 11px;
    opacity: .95;
    line-height: 1.5;
    margin: 0;
    max-width: 65%;
}

.aj-promo-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: inherit;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(0,0,0,.12);
    backdrop-filter: blur(1px);
}

.aj-promo-card--image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Visuel seul (maquette image = carte) */
.aj-promo-card--visual {
    padding: 0;
    height: clamp(165px, 18vw, 208px);
    min-height: 0;
    cursor: default;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.aj-promo-card--visual:hover {
    transform: translateY(-4px);
}

.aj-promo-card--image .aj-promo-card__title,
.aj-promo-card--image .aj-promo-card__text {
    text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

.aj-promo-card--image .aj-promo-card__text {
    max-width: 100%;
}

.aj-promo-card__deco {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: .9;
}

/* RTL: Arabic promo cards — direction, unicode-bidi, alignment, font, padding/margin, icon */
.aj-promo-card--rtl {
    direction: rtl;
    unicode-bidi: isolate;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'Noto Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
    /* padding 24px from base; symmetric, works in RTL */
}
.aj-promo-card--rtl .aj-promo-card__badge {
    direction: rtl;
    unicode-bidi: isolate;
    text-align: right;
    align-self: flex-end;
    margin-inline-start: 0;
    margin-inline-end: 0;
    margin-block-end: 12px;
}
.aj-promo-card--rtl .aj-promo-card__title {
    direction: rtl;
    unicode-bidi: isolate;
    text-align: right;
    line-height: 1.5;
    margin: 0 0 8px;
    margin-block-end: 8px;
    width: 100%;
    padding: 0;
}
.aj-promo-card--rtl .aj-promo-card__text {
    direction: rtl;
    unicode-bidi: isolate;
    text-align: right;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
/* RTL: position icon on the “start” side (right in RTL) */
.aj-promo-card--rtl .aj-promo-card__deco--box {
    left: auto;
    right: 24px;
    inset-inline-start: auto;
    inset-inline-end: 24px;
    bottom: 16px;
}

.aj-promo-card__deco--cards {
    display: flex;
    gap: 0;
    transform: rotate(-10deg);
    bottom: -16px;
    right: -8px;
}

.aj-deco-card {
    width: 96px;
    height: 128px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}
.aj-deco-card--green {
    background: #22c55e;
    transform: rotate(-15deg) translateY(16px);
}
.aj-deco-card--orange {
    background: #f97316;
    transform: rotate(-5deg);
    z-index: 1;
    margin-left: -48px;
}
.aj-deco-card--blue {
    background: #60a5fa;
    transform: rotate(5deg) translateY(-8px);
    z-index: 2;
    margin-left: -48px;
}

.aj-promo-card__deco--wallet {
    top: 16px;
    right: 16px;
    bottom: auto;
    font-size: 4rem;
}
.aj-promo-card__deco--wallet i {
    color: rgba(0,0,0,.15);
}

.aj-promo-card__deco--box {
    bottom: 16px;
    left: 24px;
    right: auto;
    font-size: 3.5rem;
    color: #ffb300;
}

/* ==========================================================================
   15. WHATSAPP — bloc compact (marketing / landing)
   ========================================================================== */
.aj-whatsapp-banner {
    display: block;
    position: relative;
    padding: 8px 0 10px;
    margin: 0;
    background: transparent;
}

.aj-whatsapp-banner__wrap {
    position: relative;
    background: linear-gradient(135deg, #166534 0%, #14532d 100%);
    border-radius: 14px;
    overflow: hidden;
    padding: 12px 16px;
    box-shadow: 0 4px 18px rgba(20, 83, 45, 0.2);
}

.aj-whatsapp-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    min-width: 0;
}

.aj-whatsapp-banner__text-col {
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(62%, 30rem);
}

.aj-whatsapp-banner__content {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.aj-whatsapp-banner__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 9px;
    border-radius: 999px;
    margin: 0;
    border: none;
}

/* Hiérarchie 1 — titre fort */
.aj-whatsapp-banner__title {
    font-size: clamp(1.1rem, 1.4vw, 1.28rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 26rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

/* Hiérarchie 2 — sous-texte (description courte) */
.aj-whatsapp-banner__desc {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 24rem;
}

/* Hiérarchie 3 — ligne meta (points) */
.aj-whatsapp-banner__meta {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    letter-spacing: 0.02em;
}

.aj-whatsapp-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    padding: 8px 16px;
    background: #f59e0b;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.32);
}

.aj-whatsapp-banner__cta:hover {
    background: #d97706;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
    transform: translateY(-1px);
}

/* QR : carte blanche + hint */
.aj-whatsapp-banner__qr-aside {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    min-width: 0;
    gap: 4px;
}

.aj-whatsapp-banner__qr-card {
    padding: 6px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    line-height: 0;
}

.aj-whatsapp-banner__qr-img {
    width: 78px;
    height: 78px;
    display: block;
    border-radius: 6px;
    object-fit: contain;
}

.aj-whatsapp-banner__qr-hint {
    margin: 0;
    padding: 0;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 120px;
}

/* ==========================================================================
   16. CRUISES SECTION
   ========================================================================== */
.aj-cruises {
    position: relative;
    padding: 14px 0 18px;
    margin-top: 0;
    margin-bottom: 0;
    background-color: transparent;
    overflow: visible;
}

/* Custom sections (admin-defined) — same vertical rhythm */
.aj-home .aj-section.aj-custom-section {
    padding: 20px 0 24px;
    margin: 0;
}

.aj-cruises__inner {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    min-height: clamp(200px, 20vw, 220px);
}

.aj-cruises__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.aj-cruises__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aj-cruises__content {
    position: relative;
    z-index: 2;
    padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 30px);
    background: linear-gradient(90deg, rgba(14, 58, 90, 0.95) 0%, rgba(14, 58, 90, 0.7) 50%, rgba(14, 58, 90, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: clamp(200px, 20vw, 220px);
}

.aj-cruises__title {
    font-size: clamp(1.45rem, 2.3vw, 1.95rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: 0.06em;
}

.aj-cruises__button {
    display: inline-block;
    padding: 9px 22px;
    background: var(--aj-blue-a11y, #006ba3);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 131, 196, 0.3);
}

/* `.aj-home a { color: inherit }` l'emporte sinon et donne un texte sombre sur fond bleu. */
.aj-home .aj-cruises__button,
.aj-home .aj-cruises__button:hover {
    color: #fff;
}

.aj-cruises__button:hover {
    background: var(--aj-brand-dark, #0e3a5a);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 131, 196, 0.4);
    color: #fff;
}

/* ==========================================================================
   17. FOOTER V2 — Updated with payment images
   ========================================================================== */
.aj-footer-v2 {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    border-top: 1px solid #f3f4f6;
    padding-top: 32px;
    margin-top: 28px;
    background-color: transparent;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 40%, rgba(255,255,255,0) 100%), url('../img/footer-fond.webp');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% 100%, 100% auto;
}

.aj-footer-v2__cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 32px;
    margin-bottom: 32px;
}

.aj-footer-v2__heading {
    font-size: .875rem;
    font-weight: 700;
    color: var(--aj-brand-blue, #0083c4);
    margin: 0 0 16px;
}

.aj-footer-v2__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.aj-footer-v2__list li { margin-bottom: 8px; }
.aj-footer-v2__list a {
    font-size: .75rem;
    color: #6b7280;
    font-weight: 500;
    transition: color .2s;
}
.aj-footer-v2__list a:hover { color: var(--aj-brand-blue, #0083c4); }

.aj-footer-v2__legal {
    font-size: 10px;
    color: #6b7280;
    line-height: 1.8;
    font-weight: 500;
}

.aj-footer-v2__nl-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.aj-footer-v2__nl-header i {
    font-size: 1.8rem;
    color: var(--aj-brand-blue, #0083c4);
}
.aj-footer-v2__nl-title {
    font-size: .875rem;
    font-weight: 700;
    color: var(--aj-brand-orange, #f37a1f);
    margin: 0 0 4px;
}
.aj-footer-v2__nl-desc {
    font-size: 10px;
    color: #6b7280;
    margin: 0;
}

.aj-footer-v2__nl-form {
    display: flex;
    margin-top: 16px;
}
.aj-footer-v2__nl-form input[type="email"] {
    flex: 1;
    border: 1px solid #d1d5db;
    border-right: none;
    border-radius: 4px 0 0 4px;
    padding: 8px 12px;
    font-size: .75rem;
    outline: none;
    font-family: inherit;
    color: #374151;
}
.aj-footer-v2__nl-form input[type="email"]:focus {
    border-color: var(--aj-brand-blue, #0083c4);
}
.aj-footer-v2__nl-form button {
    flex-shrink: 0;
    background: var(--aj-blue-a11y, #006ba3);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 8px 16px;
    font-size: .75rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s;
}
.aj-footer-v2__nl-form button:hover {
    background: var(--aj-brand-dark, #0e3a5a);
}

.aj-payments-v2 {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 10;
}
.aj-payments-v2__label {
    /* Plancher de lisibilite du front public : jamais sous 12 px. */
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 16px;
}
.aj-payments-v2__icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.aj-payments-v2__icons img {
    height: 20px;
    object-fit: contain;
    opacity: .9;
    transition: transform .2s;
}
.aj-payments-v2__icons img:hover { transform: scale(1.1); }
.aj-payments-v2__text-badge {
    height: 32px;
    display: flex;
    align-items: center;
    background: #f9fafb;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    font-size: .75rem;
    font-weight: 900;
    color: var(--aj-orange-a11y, #c2410c);
    transition: transform .2s;
}
.aj-payments-v2__text-badge:hover { transform: scale(1.1); }

/* Repli d'un moyen de paiement sans visuel : lisible, jamais une icone cassee. */
.aj-payments-v2__fallback {
    height: 32px;
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line, #dce7f2);
    border-radius: 6px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    color: var(--ink, #0d2137);
}

/* ==========================================================================
   16. SECTION HEADERS — Arrows + title row
   ========================================================================== */
.aj-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.aj-section-head .aj-section-title {
    white-space: nowrap;
    margin: 0;
}

.aj-section-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}
.aj-section-arrow {
    width: 40px; height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9ca3af;
    transition: color .2s, border-color .2s, box-shadow .2s;
    font-size: .9rem;
}
.aj-section-arrow:hover {
    color: var(--aj-brand-blue, #0083c4);
    border-color: var(--aj-brand-blue, #0083c4);
    box-shadow: 0 2px 8px rgba(0,131,196,.1);
}

/* ==========================================================================
   17. SLIDER V2 — Horizontal snap carousel
   ========================================================================== */
.aj-slider-v2 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 16px;
    scrollbar-width: none;
}
.aj-slider-v2::-webkit-scrollbar { display: none; }

.aj-slider-v2__item {
    flex: 0 0 calc(25% - 12px);
    min-width: 260px;
    scroll-snap-align: start;
}

/* ==========================================================================
   18. HOLIDAYS BY THEME
   ========================================================================== */
.aj-theme {
    padding: 10px 0 12px;
}
.aj-theme__grid {
    display: grid;
    grid-template-columns: minmax(280px, 36%) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}
.aj-theme__left {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    border: 1px solid #e5eef7;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    min-height: 300px;
    display: flex;
    flex-direction: column;
}
.aj-theme__left-media {
    height: 124px;
    background: linear-gradient(135deg, #0083c4 0%, #0e3a5a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.aj-theme__left-media.is-missing {
    background: linear-gradient(135deg, #0083c4 0%, #0e3a5a 100%);
}
.aj-theme__left-media.is-missing::after {
    content: '\f03e';
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', FontAwesome;
    font-weight: 900;
    font-size: 3rem;
    color: rgba(255,255,255,.3);
}
.aj-theme__left-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aj-theme__left-content {
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    z-index: 2;
}
.aj-theme__eyebrow {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0083c4;
    letter-spacing: .4px;
}
.aj-theme__title {
    color: #0e3a5a;
    font-size: clamp(1.22rem, 1.6vw, 1.65rem);
    line-height: 1.14;
    font-weight: 800;
}
.aj-theme__title span {
    display: block;
}
.aj-theme__subtitle {
    color: #4b5563;
    font-size: .82rem;
    max-width: 32ch;
}
.aj-theme__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--aj-blue-a11y, #006ba3);
    color: #fff;
    font-weight: 700;
    font-size: .76rem;
}
.aj-theme__cta:hover {
    background: var(--aj-brand-dark, #0e3a5a);
    color: #fff;
}
.aj-theme__deco {
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: 92px;
    opacity: .28;
    pointer-events: none;
}
.aj-theme__right {
    min-width: 0;
    background: rgba(255,255,255,.72);
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 10px 12px 4px;
}
.aj-theme-track {
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 12px;
    padding-bottom: 0;
}
.aj-theme-card {
    flex: 0 0 calc(33.333% - 11px);
    min-width: 210px;
    border-radius: 12px;
    border: 1px solid #edf1f6;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 238px;
}
.aj-theme-card__media {
    height: 102px;
    background: #d9e5f2;
}
.aj-theme-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aj-theme-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.aj-theme-card__placeholder-icon {
    font-size: 2.5rem;
    color: rgba(255,255,255,.5);
}
.aj-theme-card__placeholder--hidden {
    display: none;
}
.aj-theme-card__body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.aj-theme-card__badge {
    align-self: flex-start;
    display: inline-block;
    font-size: .64rem;
    font-weight: 700;
    color: #0b5480;
    background: #e8f5fc;
    border: 1px solid #c8e7f9;
    border-radius: 999px;
    padding: 2px 8px;
}
.aj-theme-card__title {
    font-size: .9rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}
.aj-theme-card__desc {
    margin: 0;
    color: #5b6573;
    font-size: .76rem;
    line-height: 1.34;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.aj-theme-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.aj-theme-card__tag {
    background: #f3f7fb;
    border: 1px solid #e3ebf3;
    color: #4b5563;
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 600;
    padding: 3px 8px;
}
.aj-theme-card__btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 6px 9px;
    border-radius: 8px;
    background: #f37a1f;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.aj-theme-card__btn:hover {
    background: #cf6310;
    color: #fff;
}

.aj-theme .aj-section-head {
    margin-bottom: 8px;
}

.aj-theme .aj-section-title {
    font-size: 1.32rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .aj-card { flex: 0 0 calc(50% - 11px); }
    .aj-regions__grid { grid-template-columns: repeat(3, 1fr); }
    .aj-footer-nl__grid { grid-template-columns: 1fr 1fr; gap: 24px; }

    .aj-nav-list > li > a { padding: 8px 8px; font-size: 12px; }

    .aj-promos__grid { grid-template-columns: 1fr; }
    .aj-spots2__grid { grid-template-columns: repeat(2, 1fr); }
    .aj-dest-new { flex-direction: column; }
    .aj-dest-featured { width: 100%; min-height: 250px; }
    .aj-dest-grid { height: 350px; }
    .aj-slider-v2__item { flex: 0 0 calc(50% - 8px); }
    .aj-footer-v2__cols { grid-template-columns: 1fr 1fr; }
    .aj-theme__grid { grid-template-columns: 1fr; }
    .aj-theme__left { min-height: unset; }
}

/* Tablet + Medium (< 1280px): hamburger + drawer; auth in drawer only */
@media (max-width: 1279.98px) {
    .aj-header__lowcost--desktop { display: none !important; }
    .aj-header__toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 12px;
        min-width: 44px;
        min-height: 44px;
        -webkit-tap-highlight-color: transparent;
    }
    .aj-header__drawer {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        z-index: 9999;
        background: #fff;
        overflow: hidden;
        transform: translateX(100%);
        transition: transform .3s ease, visibility .3s;
        visibility: hidden;
    }
    body.menu-open .aj-header__drawer {
        display: flex !important;
        flex-direction: column;
        transform: translateX(0);
        visibility: visible;
    }
    .aj-drawer__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-shrink: 0;
        padding: 16px 20px;
        min-height: 64px;
        border-bottom: 1px solid #f3f4f6;
        background: #fff;
    }
    .aj-drawer__title {
        font-size: 1.1rem;
        font-weight: 700;
        color: #1f2937;
    }
    .aj-drawer__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: none;
        background: transparent;
        font-size: 1.5rem;
        line-height: 1;
        color: #6b7280;
        cursor: pointer;
        border-radius: 8px;
        transition: background .2s, color .2s;
    }
    .aj-drawer__close:hover { 
        background: #f3f4f6;
        color: #1f2937;
    }
    .aj-drawer__auth {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 16px 20px;
        flex-shrink: 0;
        border-bottom: 1px solid #f3f4f6;
        background: #fafafa;
    }
    .aj-drawer__auth .aj-auth-link--block { margin: 0; min-width: 0; }
    
    /* Low cost button in drawer */
    .aj-drawer__lowcost {
        display: block !important;
        padding: 16px 20px;
        border-top: 1px solid #f3f4f6;
        background: #fafafa;
    }
    .aj-drawer__lowcost .aj-lowcost-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14px;
    }
    
    /* Scroll uniquement dans le drawer ouvert (mobile), pas dans la navbar */
    .aj-header__drawer .aj-navbar__menu {
        display: block !important;
        position: static;
        flex: 1;
        min-height: 0;
        padding: 12px 0 24px;
        box-shadow: none;
        border-radius: 0;
        background: transparent;
    }
    body.menu-open .aj-header__drawer .aj-navbar__menu {
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    .aj-nav-list {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
    }
    .aj-nav-list > li { border-bottom: 1px solid rgba(0,0,0,.06); }
    .aj-nav-list > li > a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 14px 20px;
        font-size: .95rem;
        border-radius: 0;
    }
    .aj-nav-list > li > a i:not(.aj-caret) {
        width: 20px;
        text-align: center;
    }
    .aj-nav-list > li > a .aj-caret {
        margin-left: auto;
    }
    .aj-nav-list .aj-caret { transition: transform .2s; }
    .aj-nav-list > li.aj-sub-open > a .aj-caret,
    .aj-nav-list > li.menu-item-has-children.aj-sub-open > a .aj-caret { transform: rotate(180deg); }
    .aj-nav-list > li.menu-item-has-children > a::after {
        content: '\25BE';
        font-size: .65rem;
        opacity: .5;
        margin-left: auto;
        transition: transform .2s;
    }
    .aj-nav-list > li.menu-item-has-children.aj-sub-open > a::after { transform: rotate(180deg); }
    .aj-sub-menu,
    .aj-nav-list .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        background: #f9fafb;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        padding: 0;
        margin: 0;
    }
    .aj-nav-list > li.aj-sub-open > .aj-sub-menu,
    .aj-nav-list > li.aj-sub-open > .sub-menu,
    .aj-nav-list > li.menu-item-has-children.aj-sub-open > .sub-menu {
        max-height: 400px;
    }
    .aj-sub-menu li a,
    .aj-nav-list .sub-menu li a {
        padding: 12px 20px 12px 52px;
        font-size: .88rem;
    }
}

/* Mobile: topbar compact, navbar 64px, hero spacing, WhatsApp banner, Cruises */
@media (max-width: 768px) {
    .aj-whatsapp-banner {
        padding: 8px 0 10px;
    }
    .aj-whatsapp-banner__wrap {
        padding: 10px 12px;
    }
    .aj-whatsapp-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        text-align: center;
    }
    .aj-whatsapp-banner__text-col {
        max-width: 100%;
    }
    .aj-whatsapp-banner__content {
        align-items: center;
    }
    .aj-whatsapp-banner__title {
        font-size: 1.05rem;
        max-width: 100%;
    }
    .aj-whatsapp-banner__desc {
        font-size: 0.82rem;
        max-width: 100%;
        margin-top: 0;
    }
    .aj-whatsapp-banner__meta {
        font-size: 0.8125rem;
    }
    .aj-whatsapp-banner__cta {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        margin-top: 0;
    }
    .aj-whatsapp-banner__qr-aside {
        margin-left: 0;
        flex-direction: column;
    }
    .aj-whatsapp-banner__qr-img {
        width: 68px;
        height: 68px;
    }
    .aj-whatsapp-banner__qr-hint {
        font-size: 0.75rem;
        max-width: 130px;
    }
    .aj-cruises__content {
        padding: 18px 16px;
        text-align: center;
        align-items: center;
        background: linear-gradient(180deg, rgba(14, 58, 90, 0.95) 0%, rgba(14, 58, 90, 0.8) 100%);
        min-height: clamp(160px, 42vw, 190px);
    }
    .aj-cruises__inner {
        min-height: clamp(160px, 42vw, 190px);
    }
    .aj-cruises__title {
        font-size: 1.28rem;
    }
    .aj-topbar__inner {
        flex-wrap: nowrap;
        gap: 8px;
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .aj-topbar__left { gap: 8px; min-width: 0; }
    .aj-topbar__socials { gap: 8px; font-size: 12px; }
    .aj-topbar__contact { display: none; }
    .aj-topbar__item { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
    .aj-topbar__right { gap: 4px; flex-shrink: 0; justify-content: flex-end; }
    .aj-topbar__auth { display: none; }
    .aj-navbar__inner { min-height: 64px; height: 64px; padding-left: 16px; padding-right: 16px; gap: 12px; }
    .aj-navbar__logo { flex-shrink: 0; }
    .aj-navbar__logo-img { max-height: 32px; }
    .aj-hero { padding: 60px 12px 50px; }
    .aj-search-float { width: 94%; margin-top: -60px; }
    .aj-search__tabs { overflow-x: auto; }
    .aj-tab { padding: 10px 14px; font-size: .8rem; }
    .aj-search__form { flex-wrap: wrap; }
    .aj-sf { flex: 1 1 100%; border-bottom: 1px solid #eee; }
    .aj-sep { display: none; }
    .aj-search__btn { width: 100%; justify-content: center; border-radius: 0 0 var(--aj-radius) var(--aj-radius); min-height: 50px; }
    .aj-lm,
    .aj-regions,
    .aj-spots,
    .aj-promos,
    .aj-cruises,
    .aj-accom,
    .aj-home .aj-section.aj-custom-section { padding: 16px 0 20px; }
    .aj-footer-v2 { margin-top: 24px; padding-top: 24px; }
    .aj-card { flex: 0 0 82%; min-width: 260px; }
    .aj-regions__grid { grid-template-columns: repeat(2, 1fr); }
    .aj-spots__grid { grid-template-columns: 1fr; }
    .aj-spot { height: 180px; }
    .aj-footer-nl__grid { grid-template-columns: 1fr; }
    .aj-fnl-col--nl { order: -1; }

    .aj-search-form__row { flex-direction: column; }
    .aj-search-field + .aj-search-field { border-left: none; border-top: 1px solid #f3f4f6; }
    .aj-search-submit { width: 100%; }
    .aj-search-submit__btn { width: 100%; min-width: unset; }
    .aj-search-popover {
        left: 0;
        right: 0;
        min-width: 0;
        width: 100%;
    }
    .aj-search-date-popover {
        grid-template-columns: 1fr;
    }
    .aj-slider-v2__item { flex: 0 0 80%; min-width: 260px; }
    .aj-theme { padding: 10px 0 12px; }
    .aj-theme__right { padding: 10px; }
    .aj-theme__left { min-height: 0; }
    .aj-theme__left-media { height: 126px; }
    .aj-theme__left-content { padding: 12px; }
    .aj-theme-card { flex: 0 0 72%; min-width: 214px; min-height: 222px; }
    .aj-theme-card__media { height: 96px; }
    .aj-spots2__grid { grid-template-columns: 1fr; }
    .aj-promos__grid { grid-template-columns: 1fr; overflow-x: auto; scroll-snap-type: x mandatory; display: flex; gap: 16px; padding-bottom: 16px; }
    .aj-promo-card { flex: 0 0 85%; min-width: 280px; scroll-snap-align: center; }
    .aj-promo-card--visual { height: clamp(150px, 44vw, 190px); }
    .aj-dest-grid { height: 300px; }
    .aj-footer-v2__cols { grid-template-columns: 1fr; }
}

/* Small Mobile: hide more elements */
@media (max-width: 640px) {
    .aj-topbar__socials {
        gap: 6px;
        font-size: 11px;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .aj-topbar__left { flex-direction: row; gap: 6px; align-items: center; }
    .aj-topbar__item { max-width: 120px; }

    .aj-hero {
        min-height: 560px;
        padding: 50px 10px 40px;
    }
    .aj-search-float { margin-top: -40px; }
    .aj-hero__title { font-size: 1.6rem; }
    .aj-hero__sub   { font-size: .95rem; }

    .aj-card { flex: 0 0 90%; }
    .aj-regions__grid { grid-template-columns: 1fr 1fr; }
    .aj-reg { height: 130px; }
    .aj-reg__label { font-size: .8rem; }
}

/* WhatsApp : tablette — ligne horizontale compacte (texte | QR) */
@media (min-width: 520px) and (max-width: 768px) {
    .aj-whatsapp-banner__inner {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 14px 20px;
    }
    .aj-whatsapp-banner__text-col {
        text-align: left;
    }
    .aj-whatsapp-banner__content {
        text-align: left;
        align-items: flex-start;
    }
    .aj-whatsapp-banner__cta {
        margin-left: 0;
        margin-right: auto;
    }
}

/* ==========================================================================
   SITE-WIDE FOOTER — Hide WP theme footer, show custom footer everywhere
   ========================================================================== */
body.aj-custom-footer #footer,
body.aj-custom-footer footer:not(.aj-footer-v2),
body.aj-custom-footer .site-footer,
body.aj-custom-footer .footer-wrapper,
body.aj-custom-footer .footer-widget-area,
body.aj-custom-footer #colophon,
body.aj-custom-footer .footer,
body.aj-custom-footer .st-footer,
body.aj-custom-footer .footer-top,
body.aj-custom-footer .footer-bottom,
body.aj-custom-footer .footer__main,
body.aj-custom-footer [class*="footer"]:not(.aj-footer-v2):not(.aj-footer-v2 *):not([class*="aj-"]) {
    display: none !important;
}

.aj-footer-sitewide {
    font-family: 'Poppins', "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1f2937;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.aj-footer-sitewide *,
.aj-footer-sitewide *::before,
.aj-footer-sitewide *::after { box-sizing: border-box; }
.aj-footer-sitewide a { text-decoration: none; color: inherit; }
.aj-footer-sitewide img { max-width: 100%; display: block; height: auto; }

/* ==========================================================================
   VOYAGES PAGE
   ========================================================================== */
.aj-voyages-page { background: #f8fafc; }

.aj-voyages-hero {
    padding: 32px 0 18px;
}

.aj-voyages-search-header {
    padding: 32px 0 24px;
}

.aj-voyages-title {
    font-size: clamp(1.5rem, 2.3vw, 2.1rem);
    font-weight: 800;
    color: #0e3a5a;
}

.aj-voyages-subtitle {
    margin-top: 6px;
    color: #6b7280;
    font-size: .98rem;
}

.aj-voyages-search {
    margin-top: 18px;
}

.aj-voyages-results {
    padding: 12px 0 48px;
}

.aj-voyages-results__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.aj-voyages-results__count {
    color: #6b7280;
    font-weight: 600;
    font-size: .9rem;
}

.aj-voyages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.aj-voyages-grid__item .aj-card2 {
    display: block;
    height: 100%;
}

.aj-voyages-image-fallback {
    width: 100%;
    height: 100%;
    min-height: 210px;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
}
.aj-voyages-image-fallback--empty {
    min-height: 210px;
    background: linear-gradient(145deg, #e2e8f0 0%, #cbd5e1 45%, #94a3b8 100%);
    position: relative;
}
.aj-voyages-image-fallback--empty::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 48px;
    height: 48px;
    opacity: 0.45;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='10.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
}

.aj-voyages-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.aj-voyages-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #334155;
    font-weight: 600;
    transition: all .2s ease;
}

.aj-voyages-pagination .page-numbers.current,
.aj-voyages-pagination .page-numbers:hover {
    background: #0083c4;
    border-color: #0083c4;
    color: #fff;
}

.aj-voyages-empty {
    padding: 48px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #475569;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .aj-voyages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .aj-voyages-results__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .aj-voyages-grid {
        grid-template-columns: 1fr;
    }
}
.aj-voyages-hero__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.aj-voyages-vols-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0083c4;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
    white-space: nowrap;
}

.aj-voyages-vols-link:hover {
    background: #006ba1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 131, 196, 0.3);
}

@media (max-width: 768px) {
    .aj-voyages-hero__header {
        flex-direction: column;
    }
}

/* --------------------------------------------------------------------------
   Voyages catalog — left sidebar filters + results (booking-style)
   -------------------------------------------------------------------------- */
.aj-voyages-hero--compact {
    padding: 28px 0 8px;
}

.aj-voyages-catalog {
    padding: 8px 0 56px;
}

.aj-voyages-catalog__container {
    position: relative;
}

.aj-voyages-filters-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.aj-voyages-catalog__grid {
    display: grid;
    grid-template-columns: minmax(272px, 300px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.aj-voyages-filters-sidebar {
    position: sticky;
    top: calc(1rem + env(safe-area-inset-top, 0px));
    align-self: start;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 0;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e8eef4;
    box-shadow: 0 12px 40px rgba(14, 58, 90, 0.08);
}

.aj-voyages-filters-form {
    padding: 20px 18px 22px;
}

.aj-voyages-filters__intro {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f7;
}

.aj-voyages-filters__heading {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0e3a5a;
    letter-spacing: -0.02em;
}

.aj-voyages-filters__hint {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

.aj-voyages-filters__card {
    margin-bottom: 16px;
    padding: 14px 14px 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fafc, #f6f9fc);
    border: 1px solid #e9eef5;
    box-shadow: 0 6px 18px rgba(14, 58, 90, 0.04);
}

.aj-voyages-filters__card-title {
    margin: 0 0 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.aj-voyages-filters__field {
    display: block;
    margin-bottom: 10px;
}

.aj-voyages-filters__field:last-child {
    margin-bottom: 0;
}

.aj-voyages-filters__field--half {
    margin-bottom: 0;
}

.aj-voyages-filters__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.aj-voyages-filters__row:last-child {
    margin-bottom: 0;
}

.aj-voyages-filters__label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
}

.aj-voyages-filters__control {
    position: relative;
    display: block;
}

.aj-voyages-filters__input,
.aj-voyages-filters__select {
    width: 100%;
    height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 0.92rem;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aj-voyages-filters__select {
    padding-right: 42px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath fill='%2364748b' d='M5.6 7.5a1 1 0 0 1 1.4 0L10 10.5l3-3a1 1 0 1 1 1.4 1.4l-3.7 3.7a1 1 0 0 1-1.4 0L5.6 8.9a1 1 0 0 1 0-1.4Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
}

/* Hard override (theme-proof): prevent white-on-white selects/options in the catalog sidebar */
.aj-voyages-filters-sidebar .aj-voyages-filters__select,
.aj-voyages-filters-sidebar select.aj-voyages-filters__select {
    color: #0f172a !important;
    background-color: #ffffff !important;
}

.aj-voyages-filters-sidebar .aj-voyages-filters__select option,
.aj-voyages-filters-sidebar select.aj-voyages-filters__select option {
    color: #0f172a !important;
    background-color: #ffffff !important;
}

.aj-voyages-filters-sidebar .aj-voyages-filters__select:focus,
.aj-voyages-filters-sidebar select.aj-voyages-filters__select:focus {
    color: #0f172a !important;
    background-color: #ffffff !important;
}

.aj-voyages-filters__select::-ms-expand {
    display: none;
}

.aj-voyages-filters__input:hover,
.aj-voyages-filters__select:hover {
    border-color: #cbd5e1;
}

.aj-voyages-filters__input:focus,
.aj-voyages-filters__select:focus {
    outline: none;
    border-color: #0083c4;
    box-shadow: 0 0 0 3px rgba(0, 131, 196, 0.15);
}

.aj-voyages-filters__input::placeholder {
    color: #94a3b8;
}

.aj-voyages-filters__input[type="date"] {
    padding-right: 12px;
}

.aj-voyages-filters__muted {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
}

.aj-voyages-filters__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
}

.aj-voyages-filters__checkbox input {
    margin-top: 3px;
    accent-color: #0083c4;
}

.aj-voyages-filters__actions {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aj-voyages-filters__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #0083c4, #0e3a5a);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.aj-voyages-filters__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 131, 196, 0.28);
}

.aj-voyages-filters__reset {
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
}

.aj-voyages-filters__reset:hover {
    color: #0083c4;
}

.aj-voyages-catalog__main {
    min-width: 0;
}

.aj-voyages-filters-mobile-trigger {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-weight: 700;
    color: #0e3a5a;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(14, 58, 90, 0.08);
}

.aj-voyages-filters-backdrop {
    display: none;
}

.aj-voyages-filters-close {
    display: none;
}

.aj-voyages-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e8eef4;
    box-shadow: 0 4px 18px rgba(14, 58, 90, 0.05);
}

.aj-voyages-toolbar__title {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0e3a5a;
}

.aj-voyages-toolbar__count {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
}

.aj-voyages-sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.aj-voyages-sort-form__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}

.aj-voyages-sort-form__select {
    min-width: 180px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-weight: 600;
    color: #0f172a;
}

@media (max-width: 991px) {
    body:has(#aj-voyages-filters-toggle:checked) {
        overflow: hidden;
    }

    .aj-voyages-catalog__grid {
        grid-template-columns: 1fr;
    }

    .aj-voyages-filters-mobile-trigger {
        display: flex;
    }

    .aj-voyages-filters-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 9998;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .aj-voyages-filters-toggle:checked ~ .aj-voyages-filters-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .aj-voyages-filters-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: min(100%, 400px);
        max-height: none;
        z-index: 9999;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform 0.28s ease;
        box-shadow: 8px 0 32px rgba(15, 23, 42, 0.18);
        display: flex;
        flex-direction: column;
    }

    .aj-voyages-filters-toggle:checked ~ .aj-voyages-catalog__grid .aj-voyages-filters-sidebar {
        transform: translateX(0);
    }

    .aj-voyages-filters-form {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .aj-voyages-filters-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: sticky;
        top: 0;
        z-index: 2;
        flex-shrink: 0;
        margin: 12px 12px 0 auto;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: #f1f5f9;
        color: #0f172a;
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
        border: 1px solid #e2e8f0;
    }
}

@media (max-width: 640px) {
    .aj-voyages-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .aj-voyages-sort-form {
        width: 100%;
        justify-content: space-between;
    }

    .aj-voyages-sort-form__select {
        flex: 1;
        min-width: 0;
    }
}

.aj-voyages-page--premium {
    background:
        radial-gradient(circle at top left, rgba(0, 131, 196, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(243, 122, 31, 0.08), transparent 24%),
        #f5f8fc;
}

.aj-voyages-search-shell {
    padding: 24px 0 18px;
}

.aj-voyages-search-hero {
    display: grid;
    gap: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(14, 58, 90, 0.96), rgba(0, 131, 196, 0.92)),
        linear-gradient(135deg, #0e3a5a, #0083c4);
    box-shadow: 0 24px 60px rgba(14, 58, 90, 0.16);
    color: #fff;
}

.aj-voyages-search-hero__content {
    max-width: 820px;
}

.aj-voyages-search-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aj-voyages-search-hero__title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.1rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.aj-voyages-search-hero__text {
    margin: 12px 0 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
    line-height: 1.7;
}

.aj-voyages-searchbar {
    position: sticky;
    top: 98px;
    z-index: 10;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 45px rgba(14, 58, 90, 0.18);
}

.aj-voyages-searchbar__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) auto;
    gap: 12px;
    align-items: end;
}

.aj-voyages-searchbar__field {
    display: block;
}

.aj-voyages-searchbar__label {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 700;
}

.aj-voyages-searchbar__input {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #dbe5f0;
    background: #fff;
    color: #0f172a;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aj-voyages-searchbar__input:focus {
    outline: none;
    border-color: #0083c4;
    box-shadow: 0 0 0 4px rgba(0, 131, 196, 0.14);
}

.aj-voyages-searchbar__submit {
    min-height: 52px;
    padding: 0 22px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #f37a1f, #ef6a21);
    color: #fff;
    font-size: 0.96rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(243, 122, 31, 0.24);
}

.aj-voyages-catalog--premium {
    padding-top: 0;
}

.aj-voyages-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    margin-bottom: 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #e6edf6;
    box-shadow: 0 10px 30px rgba(14, 58, 90, 0.07);
}

.aj-voyages-summary-card__kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #0083c4;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aj-voyages-summary-card__title {
    margin: 0;
    color: #0e3a5a;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.aj-voyages-summary-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 8px 0 0;
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 600;
}

.aj-voyages-summary-card__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    min-width: min(100%, 340px);
}

.aj-voyages-summary-card__stat {
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #e5edf7;
    text-align: center;
}

.aj-voyages-summary-card__stat strong {
    display: block;
    color: #0e3a5a;
    font-size: 1.2rem;
    font-weight: 800;
}

.aj-voyages-summary-card__stat span {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
}

.aj-voyages-active-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.aj-voyages-active-filters__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aj-voyages-active-filters__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dce7f2;
    color: #0e3a5a;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(14, 58, 90, 0.05);
}

.aj-voyages-active-filters__reset {
    color: #0083c4;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.aj-voyages-toolbar--premium {
    border-radius: 18px;
}

.aj-voyages-results-list {
    display: grid;
    gap: 18px;
}

.aj-voyages-result-card {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    border-radius: 24px;
    background: #fff;
    border: 1px solid #e6edf6;
    box-shadow: 0 14px 36px rgba(14, 58, 90, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aj-voyages-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(14, 58, 90, 0.12);
}

.aj-voyages-result-card__media {
    position: relative;
    display: block;
    min-height: 100%;
    background: linear-gradient(180deg, #dbe7f2, #f3f7fb);
}

.aj-voyages-result-card__media img,
.aj-voyages-result-card__fallback {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.aj-voyages-result-card__media img {
    object-fit: cover;
}

.aj-voyages-result-card__fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    font-weight: 700;
}

.aj-voyages-result-card__fallback i {
    font-size: 2rem;
    color: #94a3b8;
}

.aj-voyages-result-card__badges {
    position: absolute;
    inset: 14px auto auto 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: calc(100% - 28px);
}

.aj-voyages-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.aj-voyages-badge--brand {
    background: rgba(14, 58, 90, 0.88);
    color: #fff;
}

.aj-voyages-badge--promo {
    background: rgba(243, 122, 31, 0.92);
    color: #fff;
}

.aj-voyages-badge--success {
    background: rgba(20, 184, 166, 0.92);
    color: #fff;
}

.aj-voyages-badge--warning {
    background: rgba(245, 158, 11, 0.92);
    color: #fff;
}

.aj-voyages-badge--muted,
.aj-voyages-badge--neutral {
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
}

.aj-voyages-result-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 20px;
    padding: 22px;
}

.aj-voyages-result-card__content {
    min-width: 0;
}

.aj-voyages-result-card__topline {
    margin-bottom: 8px;
}

.aj-voyages-result-card__theme {
    color: #0083c4;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.aj-voyages-result-card__title {
    margin: 0 0 10px;
    color: #0e3a5a;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.aj-voyages-result-card__title a {
    color: inherit;
    text-decoration: none;
}

.aj-voyages-result-card__meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 14px;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 600;
}

.aj-voyages-result-card__meta-line span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.aj-voyages-result-card__meta-line i {
    color: #0083c4;
}

.aj-voyages-result-card__rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.aj-voyages-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f4fbff;
    border: 1px solid #d9edf9;
}

.aj-voyages-rating-pill strong {
    color: #0e3a5a;
    font-size: 0.98rem;
    font-weight: 800;
}

.aj-voyages-rating-pill span {
    color: #0f172a;
    font-size: 0.83rem;
    font-weight: 700;
}

.aj-voyages-rating-pill--muted {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.aj-voyages-result-card__reviews {
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 700;
}

.aj-voyages-result-card__excerpt {
    margin: 0 0 14px;
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.95rem;
}

.aj-voyages-result-card__chips,
.aj-voyages-result-card__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aj-voyages-result-card__chips {
    margin-bottom: 14px;
}

.aj-voyages-result-card__chip,
.aj-voyages-result-card__trust span {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
}

.aj-voyages-result-card__chip--date {
    background: #f4fbff;
    border-color: #d6ebf7;
}

.aj-voyages-result-card__pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding-left: 12px;
    border-left: 1px solid #edf2f7;
}

.aj-voyages-result-card__favorite {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #dde7f0;
    background: #fff;
    color: #0e3a5a;
    cursor: pointer;
}

.aj-voyages-result-card__old-price {
    color: #94a3b8;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: line-through;
}

.aj-voyages-result-card__price-prefix {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
}

.aj-voyages-result-card__price {
    color: #0e3a5a;
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.aj-voyages-result-card__price span {
    font-size: 0.95rem;
    font-weight: 800;
}

.aj-voyages-result-card__price--small {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.aj-voyages-result-card__price-note {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
}

.aj-voyages-result-card__actions {
    display: grid;
    gap: 10px;
    width: 100%;
}

.aj-voyages-result-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
}

.aj-voyages-result-card__cta--primary {
    background: linear-gradient(135deg, #0083c4, #0e3a5a);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 131, 196, 0.16);
}

.aj-voyages-result-card__cta--ghost {
    background: #fff;
    color: #0e3a5a;
    border: 1px solid #d7e2ed;
}

.aj-voyages-empty--premium {
    padding: 38px 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #e6edf6;
    box-shadow: 0 14px 36px rgba(14, 58, 90, 0.08);
    text-align: center;
}

.aj-voyages-empty__icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4fbff;
    color: #0083c4;
    font-size: 1.8rem;
}

.aj-voyages-empty__actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.aj-voyages-filter-group {
    margin-bottom: 12px;
    border: 1px solid #e6edf6;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f9fbfe);
    overflow: hidden;
}

.aj-voyages-filter-group__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px;
    cursor: pointer;
    list-style: none;
    color: #0e3a5a;
    font-size: 0.9rem;
    font-weight: 800;
}

.aj-voyages-filter-group__summary::-webkit-details-marker {
    display: none;
}

.aj-voyages-filter-group[open] .aj-voyages-filter-group__summary i {
    transform: rotate(180deg);
}

.aj-voyages-filter-group__summary i {
    transition: transform 0.2s ease;
}

.aj-voyages-filter-group__body {
    padding: 0 16px 16px;
}

.aj-voyages-filters__intro--premium {
    margin-bottom: 14px;
}

.aj-voyages-filters__checks {
    display: grid;
    gap: 8px;
}

.aj-voyages-filters__choice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.aj-voyages-filters__choice input {
    accent-color: #0083c4;
}

.aj-voyages-filters__actions--sticky {
    position: sticky;
    bottom: 0;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), #fff 32%);
}

.aj-voyages-filters-mobile-trigger--sticky {
    position: sticky;
    bottom: 16px;
    z-index: 20;
}

.aj-voyages-filters-mobile-trigger__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f37a1f;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .aj-voyages-searchbar__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aj-voyages-result-card__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .aj-voyages-result-card__pricing {
        align-items: flex-start;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #edf2f7;
        padding-top: 14px;
    }

    .aj-voyages-result-card__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .aj-voyages-search-shell {
        padding-top: 14px;
    }

    .aj-voyages-search-hero {
        padding: 20px;
        border-radius: 20px;
    }

    .aj-voyages-searchbar {
        position: static;
    }

    .aj-voyages-summary-card {
        flex-direction: column;
        align-items: stretch;
    }

    .aj-voyages-summary-card__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: 0;
    }

    .aj-voyages-result-card {
        grid-template-columns: 1fr;
    }

    .aj-voyages-result-card__media {
        min-height: 260px;
    }
}

@media (max-width: 640px) {
    .aj-voyages-search-hero__title {
        font-size: 1.72rem;
    }

    .aj-voyages-searchbar__grid {
        grid-template-columns: 1fr;
    }

    .aj-voyages-summary-card,
    .aj-voyages-toolbar--premium,
    .aj-voyages-result-card__body {
        padding: 16px;
    }

    .aj-voyages-summary-card__stats {
        grid-template-columns: 1fr;
    }

    .aj-voyages-result-card__actions {
        grid-template-columns: 1fr;
    }

    .aj-voyages-result-card__price {
        font-size: 1.7rem;
    }

    .aj-voyages-active-filters {
        align-items: flex-start;
    }
}

/* ==========================================================================
   VOLS PAGE
   ========================================================================== */
.aj-vols-page { background: #f8fafc; }

.aj-vols-hero {
    padding: 32px 0 18px;
}

.aj-vols-search-header {
    padding: 32px 0 24px;
}

.aj-vols-title {
    font-size: clamp(1.5rem, 2.3vw, 2.1rem);
    font-weight: 800;
    color: #0e3a5a;
}

.aj-vols-subtitle {
    margin-top: 6px;
    color: #6b7280;
    font-size: .98rem;
}

.aj-vols-search {
    margin-top: 18px;
}

.aj-vols-search-form {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.aj-vols-search-fields {
    display: flex;
    gap: 12px;
    align-items: center;
}

.aj-vols-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.aj-vols-search-field i {
    color: #0083c4;
    font-size: 18px;
}

.aj-vols-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}

.aj-vols-search-btn {
    padding: 12px 24px;
    background: #0083c4;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aj-vols-search-btn:hover {
    background: #006ba1;
}

.aj-vols-results {
    padding: 12px 0 48px;
}

.aj-vols-results__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.aj-vols-results__count {
    color: #6b7280;
    font-weight: 600;
    font-size: .9rem;
}

.aj-vols-list {
    display: grid;
    gap: 16px;
}

.aj-flight-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    transition: all .2s ease;
}

.aj-flight-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.aj-flight-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.aj-flight-card__type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.aj-flight-card__type.aller {
    background: #dbeafe;
    color: #1e40af;
}

.aj-flight-card__type.retour {
    background: #fef3c7;
    color: #92400e;
}

.aj-flight-card__number {
    color: #6b7280;
    font-size: 14px;
}

.aj-flight-card__route {
    display: flex;
    align-items: center;
    gap: 24px;
}

.aj-flight-card__city {
    flex: 1;
}

.aj-flight-card__city strong {
    display: block;
    font-size: 18px;
    color: #0e3a5a;
    margin-bottom: 4px;
}

.aj-flight-card__city i {
    margin-right: 8px;
    color: #0083c4;
}

.aj-flight-card__datetime {
    font-size: 13px;
    color: #6b7280;
}

.aj-flight-card__arrow {
    color: #0083c4;
    font-size: 24px;
}

.aj-vols-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.aj-vols-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #334155;
    font-weight: 600;
    transition: all .2s ease;
}

.aj-vols-pagination .page-numbers.current,
.aj-vols-pagination .page-numbers:hover {
    background: #0083c4;
    border-color: #0083c4;
    color: #fff;
}

.aj-vols-empty {
    padding: 48px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #475569;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .aj-vols-search-fields {
        flex-direction: column;
    }

    .aj-vols-search-btn {
        width: 100%;
        justify-content: center;
    }

    .aj-flight-card__route {
        flex-direction: column;
        gap: 12px;
    }

    .aj-flight-card__arrow {
        transform: rotate(90deg);
    }

    .aj-whatsapp-banner {
        padding: 8px 0 10px;
    }
    .aj-whatsapp-banner__wrap {
        padding: 10px 12px;
    }
    .aj-whatsapp-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        text-align: center;
    }
    .aj-whatsapp-banner__text-col {
        max-width: 100%;
    }
    .aj-whatsapp-banner__content {
        align-items: center;
    }
    .aj-whatsapp-banner__title {
        font-size: 1.05rem;
        max-width: 100%;
    }
    .aj-whatsapp-banner__desc {
        font-size: 0.82rem;
        max-width: 100%;
        margin-top: 0;
    }
    .aj-whatsapp-banner__meta {
        font-size: 0.8125rem;
    }
    .aj-whatsapp-banner__cta {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        margin-top: 0;
    }
    .aj-whatsapp-banner__qr-aside {
        margin-left: 0;
        flex-direction: column;
    }
    .aj-whatsapp-banner__qr-img {
        width: 68px;
        height: 68px;
    }
    .aj-whatsapp-banner__qr-hint {
        font-size: 0.75rem;
        max-width: 130px;
    }
    .aj-cruises__content {
        padding: 18px 16px;
        text-align: center;
        align-items: center;
        background: linear-gradient(180deg, rgba(14, 58, 90, 0.95) 0%, rgba(14, 58, 90, 0.8) 100%);
        min-height: clamp(160px, 42vw, 190px);
    }
    .aj-cruises__inner {
        min-height: clamp(160px, 42vw, 190px);
    }
    .aj-cruises__title {
        font-size: 1.28rem;
    }
}

/* Final promo slider overrides after legacy responsive rules */
.aj-home .aj-promos {
    padding: 12px 0 18px;
}

.aj-home .aj-promo-slide {
    flex: 0 0 min(560px, calc(50% - 7px));
    min-width: 360px;
}

@media (max-width: 1279.98px) {
    .aj-home .aj-promos {
        padding: 12px 0 16px;
    }

    .aj-home .aj-promo-slide {
        flex: 0 0 min(520px, 78vw);
        min-width: 320px;
    }
}

@media (max-width: 767.98px) {
    .aj-home .aj-promos {
        padding: 10px 0 14px;
    }

    .aj-home .aj-promos__frame {
        padding: 12px;
        border-radius: 20px;
    }

    .aj-home .aj-promos__toolbar {
        margin-bottom: 8px;
    }

    .aj-home .aj-promo-slide {
        flex: 0 0 88%;
        min-width: 0;
    }

    .aj-home .aj-promo-banner {
        grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
        min-height: clamp(138px, 40vw, 156px);
        height: clamp(138px, 40vw, 156px);
        border-radius: 18px;
    }

    .aj-home .aj-promo-banner__content {
        padding: 14px 14px 14px 16px;
        gap: 6px;
    }

    .aj-home .aj-promo-banner__title {
        font-size: .95rem;
    }

    .aj-home .aj-promo-banner__subtitle {
        font-size: .78rem;
        line-height: 1.35;
    }

    .aj-home .aj-promo-banner__cta {
        padding: 7px 12px;
        font-size: .7rem;
    }
}

/* Final holiday theme sizing overrides */
.aj-home .aj-theme {
    padding: 14px 0 18px;
}

.aj-home .aj-theme__grid {
    gap: 18px;
    align-items: stretch;
}

.aj-home .aj-theme__left {
    min-height: 410px;
    border-radius: 20px;
    height: 100%;
}

.aj-home .aj-theme__left-media {
    height: 166px;
}

.aj-home .aj-theme__left-content {
    padding: 18px 18px 16px;
    gap: 10px;
}

.aj-home .aj-theme__subtitle {
    font-size: .9rem;
    line-height: 1.5;
    max-width: 34ch;
}

.aj-home .aj-theme__cta {
    margin-top: auto;
    padding: 9px 15px;
    color: #fff;
}

.aj-home .aj-theme__right {
    display: flex;
    flex-direction: column;
    min-height: 410px;
    height: 100%;
    padding: 14px 16px 8px;
    border-radius: 20px;
}

.aj-home .aj-theme .aj-section-head {
    margin-bottom: 12px;
}

.aj-home .aj-theme-track {
    flex: 1 1 auto;
    align-items: stretch;
}

.aj-home .aj-theme-card {
    min-height: 365px;
    min-width: 236px;
    border-radius: 18px;
    height: auto;
    align-self: stretch;
}

.aj-home .aj-theme-card__media {
    height: 155px;
}

.aj-home .aj-theme-card__body {
    padding: 16px;
    gap: 8px;
}

.aj-home .aj-theme-card__title {
    font-size: 1rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aj-home .aj-theme-card__desc {
    line-height: 1.45;
}

.aj-home .aj-theme-card__tags {
    gap: 6px;
}

.aj-home .aj-theme-card__tag {
    padding: 4px 9px;
}

.aj-home .aj-theme-card__btn {
    padding: 8px 11px;
}

@media (max-width: 991.98px) {
    .aj-home .aj-theme__grid {
        gap: 16px;
    }

    .aj-home .aj-theme__left {
        min-height: 380px;
    }

    .aj-home .aj-theme__right {
        min-height: 380px;
    }

    .aj-home .aj-theme__left-media {
        height: 154px;
    }

    .aj-home .aj-theme-card {
        min-height: 340px;
    }

    .aj-home .aj-theme-card__media {
        height: 144px;
    }
}

@media (max-width: 767.98px) {
    .aj-home .aj-theme {
        padding: 12px 0 16px;
    }

    .aj-home .aj-theme__grid {
        align-items: initial;
    }

    .aj-home .aj-theme__left {
        min-height: 340px;
        height: auto;
    }

    .aj-home .aj-theme__left-media {
        height: 146px;
    }

    .aj-home .aj-theme__left-content {
        padding: 16px 14px 14px;
    }

    .aj-home .aj-theme__right {
        min-height: 0;
        height: auto;
        padding: 12px;
    }

    .aj-home .aj-theme-track {
        flex: initial;
    }

    .aj-home .aj-theme-card {
        min-height: 320px;
        min-width: 0;
        align-self: auto;
    }

    .aj-home .aj-theme-card__media {
        height: 135px;
    }

    .aj-home .aj-theme-card__body {
        padding: 14px;
    }
}

/* ── Plugin pages: horizontal scroll guard ── */
.aj-home-wrap {
    width: 100%;
    overflow-x: hidden;
}

/* ── Page container: center + constrain on large screens ── */
.ajinsafro-page-shell {
    width: 100%;
}

.ajinsafro-page-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

@media (min-width: 1600px) {
    .ajinsafro-page-container {
        max-width: 1320px;
    }
}

@media (max-width: 992px) {
    .ajinsafro-page-container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 576px) {
    .ajinsafro-page-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Reset inner containers when inside ajinsafro-page-container to avoid double padding */
.ajinsafro-page-container .container,
.ajinsafro-page-container .aj-hebergement-container,
.ajinsafro-page-container .aj-activities-container,
.ajinsafro-page-container .ajgd-container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.aj-hero__center .aj-hero__sub{margin-left:auto;margin-right:auto;max-width:680px}
