/* ═══════════════════════════════════════════════════════════════════════════
   AJINSAFRO – Hebergement Catalog
   Palette: bleu #0D5EA8 · orange #F7941D · vert #20A86B
   ═══════════════════════════════════════════════════════════════════════════ */

.aj-hebergement-booking {
    --aj-blue: #0D5EA8;
    --aj-blue-dark: #073B70;
    --aj-blue-deep: #062B55;
    --aj-blue-soft: #EAF4FF;
    --aj-blue-bright: #1783D3;
    --aj-orange: #F7941D;
    --aj-orange-dark: #E67E00;
    --aj-orange-soft: #FFF3E3;
    --aj-green: #20A86B;
    --aj-green-dark: #128553;
    --aj-green-soft: #EAF8F1;
    --aj-red: #D93025;
    --aj-red-soft: #FDECEA;
    --aj-text: #18324A;
    --aj-muted: #6B7C93;
    --aj-border: #D9E4F0;
    --aj-surface: #FFFFFF;
    --aj-surface-alt: #F4F8FC;
    --aj-shadow: 0 4px 24px rgba(7, 59, 112, 0.08);
    --aj-shadow-lg: 0 18px 48px rgba(7, 59, 112, 0.12);
    --aj-radius-lg: 28px;
    --aj-radius-md: 20px;
    --aj-radius-sm: 14px;

    background: linear-gradient(180deg, #F4F8FC 0%, #FFFFFF 100%);
    color: var(--aj-text);
    padding: 26px 0 72px;
    font-family: "Poppins", "Segoe UI", sans-serif;
}

.aj-hebergement-booking *,
.aj-hebergement-booking *::before,
.aj-hebergement-booking *::after { box-sizing: border-box; }

.aj-hebergement-booking button,
.aj-hebergement-booking input,
.aj-hebergement-booking select { font: inherit; }

.aj-hebergement-booking a { color: inherit; text-decoration: none; }

.aj-hebergement-shell { width: 100%; }

.aj-hebergement-container {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.aj-hebergement-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--aj-muted);
    font-size: 0.82rem;
    margin-bottom: 20px;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */

.aj-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--aj-radius-lg);
    padding: 44px;
    background: linear-gradient(135deg, #073B70 0%, #0D5EA8 55%, #1783D3 100%);
    box-shadow: var(--aj-shadow-lg);
    margin-bottom: 48px;
}

.aj-hero::before,
.aj-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.aj-hero::before {
    width: 420px;
    height: 420px;
    background: rgba(255, 255, 255, 0.06);
    top: -200px;
    right: -100px;
}

.aj-hero::after {
    width: 260px;
    height: 260px;
    background: rgba(247, 148, 29, 0.2);
    bottom: -130px;
    left: -40px;
}

.aj-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-bottom: 30px;
    color: #fff;
}

.aj-eyebrow,
.aj-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aj-eyebrow {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 14px;
}

.aj-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.65rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 850;
}

.aj-hero p {
    margin: 0;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.7;
}

/* ── Hero Search ───────────────────────────────────────────────────────── */

.aj-hero-search {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 14px;
    padding: 20px;
    border-radius: 24px;
    background: #fff;
    border: 2px solid rgba(247, 148, 29, 0.4);
    box-shadow: 0 16px 40px rgba(7, 59, 112, 0.14);
}

.aj-field,
.aj-filter-group { display: grid; gap: 8px; }

.aj-field span,
.aj-filter-label {
    color: var(--aj-blue-dark);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.aj-field input,
.aj-field select,
.aj-filter-group input,
.aj-filter-group select {
    width: 100%;
    min-height: 52px;
    border: 1.5px solid var(--aj-border);
    border-radius: 16px;
    background: #fff;
    color: var(--aj-text);
    padding: 0 16px;
    outline: none;
    font-weight: 600;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aj-field input:focus,
.aj-field select:focus,
.aj-filter-group input:focus,
.aj-filter-group select:focus {
    border-color: var(--aj-blue);
    box-shadow: 0 0 0 3px rgba(13, 94, 168, 0.1);
}

.aj-search-button {
    align-self: end;
    min-height: 52px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--aj-orange), var(--aj-orange-dark));
    color: #fff;
    padding: 0 26px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.15s ease;
}

.aj-search-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* ── Sections ──────────────────────────────────────────────────────────── */

.aj-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.aj-section-kicker {
    color: var(--aj-blue);
    background: var(--aj-blue-soft);
    border: 1px solid rgba(13, 94, 168, 0.1);
    margin-bottom: 10px;
}

.aj-section-head h2 {
    margin: 0;
    font-size: clamp(1.8rem, 2.3vw, 2.4rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--aj-blue-dark);
    font-weight: 850;
}

.aj-section-head p {
    margin: 0;
    max-width: 380px;
    color: var(--aj-muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

.aj-featured { margin-bottom: 48px; }

.aj-pack-detail {
    margin: 0 0 48px;
}

.aj-pack-detail-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 24px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(13, 94, 168, 0.1);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 48px rgba(7, 59, 112, 0.10);
}

/* Single hotel detail */
.aj-hebergement-single {
    padding-top: 0;
}

.aj-hebergement-single-shell {
    padding: 28px 0 72px;
}

.aj-hotel-hero-card,
.aj-hotel-section,
.aj-hotel-booking-card,
.aj-hotel-gallery,
.aj-hotel-map-card,
.aj-hotel-empty-card {
    background: #fff;
    border: 1px solid rgba(13, 94, 168, 0.08);
    box-shadow: var(--aj-shadow);
}

.aj-hotel-hero-card {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    border-radius: 24px;
    margin-bottom: 20px;
}

.aj-hotel-topline,
.aj-hotel-hero-location,
.aj-hotel-room-meta,
.aj-hotel-contact-quick,
.aj-hotel-room-tags,
.aj-hotel-rules-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.aj-hotel-topline {
    margin-bottom: 14px;
    align-items: center;
}

.aj-hotel-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
}

.aj-hotel-status--available {
    color: #12764c;
    background: #eaf8f1;
}

.aj-hotel-hero-card h1 {
    margin: 0 0 12px;
    color: var(--aj-blue-dark);
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.aj-hotel-hero-location {
    color: var(--aj-muted);
    font-size: 0.96rem;
    margin-bottom: 12px;
    align-items: center;
}

.aj-hotel-stars {
    color: #f7b500;
    letter-spacing: 0.14em;
}

.aj-hotel-hero-summary {
    margin: 0;
    max-width: 760px;
    color: var(--aj-text);
    line-height: 1.7;
}

.aj-hotel-hero-price {
    min-width: 220px;
    text-align: right;
}

.aj-hotel-hero-price span,
.aj-hotel-hero-price small {
    display: block;
    color: var(--aj-muted);
}

.aj-hotel-hero-price strong {
    display: block;
    margin: 8px 0;
    color: var(--aj-blue-dark);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1;
}

.aj-hotel-gallery {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
    gap: 12px;
    padding: 12px;
    border-radius: 24px;
    margin-bottom: 28px;
}

.aj-hotel-gallery-main,
.aj-hotel-gallery-thumb {
    overflow: hidden;
    border-radius: 18px;
    background: #f4f8fc;
}

.aj-hotel-gallery-main {
    min-height: 420px;
}

.aj-hotel-gallery-main img,
.aj-hotel-gallery-thumb img,
.aj-hotel-room-media img,
.aj-hotel-gallery-modal__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aj-hotel-gallery-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.aj-hotel-gallery-thumb {
    min-height: 204px;
}

.aj-hotel-gallery-thumb--placeholder {
    grid-column: span 2;
}

.aj-hotel-gallery-open {
    position: absolute;
    right: 24px;
    bottom: 24px;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    background: rgba(7, 59, 112, 0.88);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.aj-hotel-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 380px);
    gap: 24px;
    align-items: start;
}

.aj-hotel-main {
    display: grid;
    gap: 24px;
}

.aj-hotel-section,
.aj-hotel-booking-card,
.aj-hotel-empty-card {
    border-radius: 24px;
    padding: 28px;
}

.aj-hotel-richtext,
.aj-hotel-richtext p {
    color: var(--aj-text);
    line-height: 1.75;
}

.aj-hotel-richtext > :first-child {
    margin-top: 0;
}

.aj-hotel-richtext > :last-child {
    margin-bottom: 0;
}

.aj-hotel-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.aj-hotel-amenity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f7fbff;
    border: 1px solid rgba(13, 94, 168, 0.08);
}

.aj-hotel-amenity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--aj-blue-soft);
    color: var(--aj-blue);
    font-weight: 800;
}

.aj-hotel-rules-card {
    display: grid;
    gap: 12px;
}

.aj-hotel-rule-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(13, 94, 168, 0.08);
}

.aj-hotel-rule-row span:last-child {
    color: var(--aj-muted);
    text-align: right;
}

.aj-hotel-rules-list {
    margin: 8px 0 0;
    padding-left: 18px;
    color: var(--aj-text);
    flex-direction: column;
    gap: 8px;
}

.aj-hotel-room-list,
.aj-hotel-reviews-grid {
    display: grid;
    gap: 18px;
}

.aj-hotel-room-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 180px;
    gap: 20px;
    padding: 16px;
    border: 1px solid rgba(13, 94, 168, 0.08);
    border-radius: 20px;
    background: #fdfefe;
}

.aj-hotel-room-media {
    min-height: 180px;
    border-radius: 18px;
    overflow: hidden;
    background: #f4f8fc;
}

.aj-hotel-room-copy h3 {
    margin: 0 0 10px;
    color: var(--aj-blue-dark);
    font-size: 1.15rem;
}

.aj-hotel-room-copy p {
    margin: 0 0 12px;
    color: var(--aj-muted);
    line-height: 1.65;
}

.aj-hotel-room-meta {
    color: var(--aj-text);
    font-size: 0.92rem;
    margin-bottom: 10px;
}

.aj-hotel-room-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef5fd;
    color: var(--aj-blue-dark);
    font-size: 0.83rem;
    font-weight: 600;
}

.aj-hotel-room-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.aj-hotel-room-price {
    color: var(--aj-blue-dark);
    font-size: 1.35rem;
    font-weight: 800;
}

.aj-pack-reserve,
.aj-pack-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    padding: 0 16px;
    text-align: center;
}

.aj-pack-reserve--block,
.aj-pack-secondary--block {
    width: 100%;
}

.aj-hotel-empty-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--aj-blue-dark);
}

.aj-hotel-empty-card p,
.aj-hotel-map-card p,
.aj-hotel-review-card p {
    margin: 0;
    color: var(--aj-muted);
    line-height: 1.7;
}

.aj-hotel-sidebar {
    position: sticky;
    top: 24px;
}

.aj-hotel-booking-card h3 {
    margin: 10px 0 16px;
    color: var(--aj-blue-dark);
    font-size: 1.35rem;
}

.aj-hotel-booking-price {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.aj-hotel-booking-price small,
.aj-hotel-booking-price span {
    display: block;
    color: var(--aj-muted);
}

.aj-hotel-booking-price strong {
    display: block;
    margin: 6px 0;
    color: var(--aj-blue-dark);
    font-size: 2rem;
    line-height: 1;
}

.aj-hotel-booking-form {
    display: grid;
    gap: 14px;
}

.aj-hotel-booking-form label {
    display: grid;
    gap: 8px;
}

.aj-hotel-booking-form span {
    color: var(--aj-blue-dark);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.aj-hotel-booking-form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--aj-border);
    border-radius: 14px;
    padding: 0 14px;
    background: #fff;
}

.aj-hotel-booking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.aj-hotel-contact-quick {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(13, 94, 168, 0.08);
    color: var(--aj-muted);
    font-size: 0.9rem;
    flex-direction: column;
    gap: 6px;
}

.aj-hotel-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 999px;
    padding: 0 16px;
    background: var(--aj-blue-soft);
    color: var(--aj-blue-dark);
    font-weight: 700;
}

.aj-hotel-map-card {
    border-radius: 24px;
    padding: 20px;
}

.aj-hotel-map-embed {
    margin-top: 16px;
    overflow: hidden;
    border-radius: 18px;
    min-height: 320px;
    background: #eef5fd;
}

.aj-hotel-map-embed iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

.aj-hotel-review-card {
    padding: 20px;
    border-radius: 18px;
    background: #f9fbfd;
    border: 1px solid rgba(13, 94, 168, 0.08);
}

.aj-hotel-review-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--aj-blue-dark);
}

.aj-hotel-gallery-modal[hidden] {
    display: none;
}

.aj-hotel-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.aj-hotel-gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 43, 85, 0.75);
}

.aj-hotel-gallery-modal__dialog {
    position: relative;
    width: min(1120px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    margin: 24px auto;
    padding: 24px;
    overflow: auto;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--aj-shadow-lg);
}

.aj-hotel-gallery-modal__close {
    position: sticky;
    top: 0;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #eef5fd;
    color: var(--aj-blue-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

.aj-hotel-gallery-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.aj-hotel-gallery-modal__grid figure {
    margin: 0;
    min-height: 280px;
    overflow: hidden;
    border-radius: 18px;
    background: #f4f8fc;
}

.aj-gallery-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .aj-hotel-layout,
    .aj-hotel-gallery,
    .aj-hotel-hero-card,
    .aj-hotel-room-card {
        grid-template-columns: 1fr;
    }

    .aj-hotel-hero-price,
    .aj-hotel-room-actions {
        text-align: left;
    }

    .aj-hotel-sidebar {
        position: static;
    }

    .aj-hotel-gallery-main {
        min-height: 320px;
    }

    .aj-hotel-gallery-thumb {
        min-height: 160px;
    }
}

@media (max-width: 767px) {
    .aj-hebergement-single-shell {
        padding: 18px 0 48px;
    }

    .aj-hotel-hero-card,
    .aj-hotel-section,
    .aj-hotel-booking-card,
    .aj-hotel-empty-card,
    .aj-hotel-map-card {
        padding: 20px;
        border-radius: 20px;
    }

    .aj-hotel-gallery {
        padding: 10px;
        border-radius: 20px;
    }

    .aj-hotel-gallery-side,
    .aj-hotel-amenities-grid,
    .aj-hotel-booking-grid,
    .aj-hotel-gallery-modal__grid {
        grid-template-columns: 1fr;
    }

    .aj-hotel-gallery-main {
        min-height: 240px;
    }

    .aj-hotel-gallery-thumb {
        min-height: 180px;
    }

    .aj-hotel-gallery-open {
        right: 16px;
        left: 16px;
        bottom: 16px;
    }

    .aj-hotel-rule-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .aj-hotel-rule-row span:last-child {
        text-align: left;
    }
}

.aj-pack-detail-media {
    position: relative;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #dce9f8, #f5f9ff);
}

.aj-pack-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aj-pack-detail-body {
    display: grid;
    gap: 16px;
    align-content: start;
}

.aj-pack-detail-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.aj-pack-detail-title {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--aj-blue-dark);
    font-weight: 900;
}

.aj-pack-detail-price {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--aj-orange-soft);
    color: var(--aj-blue-dark);
    font-weight: 800;
}

.aj-pack-detail-price small {
    color: var(--aj-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.72rem;
}

.aj-pack-detail-meta,
.aj-pack-detail-summary {
    color: var(--aj-muted);
    line-height: 1.7;
}

.aj-pack-detail-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aj-pack-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(13, 94, 168, 0.08);
    color: var(--aj-text);
}

.aj-pack-detail-list li::before {
    content: "✓";
    color: var(--aj-green);
    font-weight: 900;
    margin-top: 1px;
}

.aj-pack-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.aj-pack-detail-actions a,
.aj-pack-detail-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: 0;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

.aj-pack-detail-actions .aj-pack-reserve {
    background: linear-gradient(135deg, var(--aj-orange), var(--aj-orange-dark));
    color: #fff;
}

.aj-pack-detail-actions .aj-pack-secondary {
    background: #fff;
    color: var(--aj-blue-dark);
    border: 1px solid rgba(13, 94, 168, 0.15);
}

.aj-featured-card.is-selected {
    border-color: var(--aj-orange);
    box-shadow: 0 16px 40px rgba(255, 138, 0, 0.18);
}

.aj-result-card.is-selected {
    border-color: var(--aj-orange);
    box-shadow: 0 16px 40px rgba(255, 138, 0, 0.14);
}

.aj-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* ── Featured Cards ────────────────────────────────────────────────────── */

.aj-featured-card,
.aj-result-card,
.aj-filter-card,
.aj-empty-state {
    border: 1px solid rgba(13, 94, 168, 0.08);
    background: var(--aj-surface);
    box-shadow: var(--aj-shadow);
}

.aj-featured-card {
    overflow: hidden;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.aj-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(7, 59, 112, 0.12);
    border-color: rgba(247, 148, 29, 0.3);
}

.aj-featured-visual {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #dce9f8, #f5f9ff);
}

.aj-featured-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.aj-featured-card:hover .aj-featured-visual img { transform: scale(1.04); }

/* ── Badges ────────────────────────────────────────────────────────────── */

.aj-badge,
.aj-category-badge,
.aj-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border-radius: 999px;
    padding: 0 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Selection Ajinsafro */
.aj-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--aj-orange);
    color: #fff;
}

/* Category / type */
.aj-category-badge {
    background: rgba(13, 94, 168, 0.94);
    color: #fff;
}

/* Disponible */
.aj-status-badge {
    background: var(--aj-green-soft);
    color: var(--aj-green-dark);
}

.aj-status-badge--unavailable {
    background: var(--aj-red-soft);
    color: var(--aj-red);
}

/* ── Featured Price ────────────────────────────────────────────────────── */

.aj-featured-price {
    position: absolute;
    right: 16px;
    bottom: 16px;
    border-radius: 18px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--aj-blue-dark);
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.aj-featured-price small,
.aj-card-price small,
.aj-result-price small {
    display: block;
    margin-bottom: 4px;
    color: var(--aj-muted);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.aj-featured-content {
    display: grid;
    gap: 14px;
    padding: 20px;
    flex: 1 1 auto;
}

.aj-featured-content h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.aj-inline-meta,
.aj-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--aj-muted);
    font-size: 0.82rem;
}

.aj-star-line {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--aj-orange);
    font-size: 0.85rem;
}

.aj-star-line--empty { color: var(--aj-muted); font-size: 0.75rem; }

/* Highlight when opened from direct pack link */
.is-highlighted {
    outline: 3px solid #ff8a00;
    box-shadow: 0 20px 50px rgba(255, 138, 0, 0.25);
    transform: translateY(-4px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, outline-color 0.25s ease;
}

.is-highlighted.aj-featured-card,
.is-highlighted.aj-result-card {
    border-color: #ff8a00;
}

.pack-not-found-alert {
    background: #fff4e5;
    color: #8a4b00;
    border: 1px solid #ffb866;
    padding: 14px 18px;
    border-radius: 14px;
    margin: 20px 0;
    font-weight: 600;
}

.aj-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--aj-text);
    font-size: 0.85rem;
    font-weight: 700;
}

.aj-rating strong { color: var(--aj-orange-dark); }

/* Featured Card CTA */
.aj-featured-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--aj-radius-sm);
    text-align: center;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.15s ease;
    background: linear-gradient(135deg, var(--aj-orange), var(--aj-orange-dark));
    color: #fff;
    border: 0;
    font-weight: 800;
    width: fit-content;
    padding: 12px 20px;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

.aj-featured-link:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* ── Catalog Layout ────────────────────────────────────────────────────── */

.aj-catalog-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.aj-filters {
    position: sticky;
    top: 112px;
}

.aj-filter-card {
    border-radius: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(13, 94, 168, 0.1);
    box-shadow: var(--aj-shadow);
}

.aj-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(13, 94, 168, 0.1);
}

.aj-filter-head h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 850;
    color: var(--aj-blue-dark);
}

.aj-filter-head button {
    border: 0;
    background: transparent;
    color: var(--aj-orange-dark);
    font-weight: 800;
    cursor: pointer;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.aj-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.aj-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--aj-text);
    font-size: 0.85rem;
    line-height: 1.5;
}

.aj-check + .aj-check { margin-top: 10px; }

.aj-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--aj-orange);
    flex-shrink: 0;
}

.aj-star-label {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

/* ── Results ───────────────────────────────────────────────────────────── */

.aj-section-head--catalog { margin-bottom: 24px; }

.aj-results-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.aj-results-meta strong {
    color: var(--aj-text);
    font-size: 0.95rem;
    font-weight: 800;
}

.aj-sort-select {
    min-height: 48px;
    border: 1.5px solid var(--aj-border);
    border-radius: 999px;
    background: #fff;
    color: var(--aj-text);
    padding: 0 18px;
    outline: none;
    font-weight: 700;
    transition: border-color 0.2s ease;
}

.aj-sort-select:focus {
    border-color: var(--aj-blue);
}

.aj-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 999px;
    background: #f6faff;
    border: 1px solid rgba(13, 94, 168, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.aj-view-btn {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1.5px solid rgba(13, 94, 168, 0.18);
    background: #fff;
    color: var(--aj-blue-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.aj-view-btn:hover {
    border-color: rgba(247, 148, 29, 0.35);
    transform: translateY(-1px);
}

.aj-view-btn.is-active {
    background: linear-gradient(135deg, var(--aj-orange), var(--aj-orange-dark));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(247, 148, 29, 0.18);
}

.aj-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.aj-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    border-radius: 999px;
    padding: 0 14px;
    background: var(--aj-orange-soft);
    color: var(--aj-orange-dark);
    font-size: 0.75rem;
    font-weight: 800;
    border: 1px solid rgba(247, 148, 29, 0.15);
}

.aj-filter-chip button {
    border: 0;
    background: transparent;
    color: var(--aj-orange-dark);
    font-weight: 800;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    line-height: 1;
}

/* ── Result Cards (horizontal Booking-style) ───────────────────────────── */

.aj-hebergements-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aj-hebergements-grid.is-grid-view {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.aj-result-card {
    display: flex;
    flex-direction: row;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(13, 94, 168, 0.08);
    background: #fff;
    box-shadow: 0 12px 28px rgba(7, 59, 112, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.aj-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(7, 59, 112, 0.1);
    border-color: rgba(247, 148, 29, 0.25);
}

.aj-result-media {
    position: relative;
    width: 280px;
    min-width: 280px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #dce9f8, #f5f9ff);
}

.aj-result-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aj-result-media .aj-card-badges {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.aj-result-body {
    display: grid;
    gap: 12px;
    padding: 20px;
    flex: 1 1 auto;
    min-width: 0;
    grid-template-rows: auto auto 1fr auto;
}

.aj-result-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    color: var(--aj-muted);
    font-size: 0.82rem;
}

.aj-result-body h3 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.aj-result-body h3 a { color: inherit; }

.aj-result-body h3 a:hover { color: var(--aj-blue); }

.aj-result-desc {
    color: var(--aj-muted);
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aj-result-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aj-result-fact {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border: 1px solid rgba(13, 94, 168, 0.12);
    border-radius: 999px;
    padding: 0 12px;
    background: var(--aj-blue-soft);
    color: var(--aj-blue-dark);
    font-size: 0.72rem;
    font-weight: 700;
}

/* ── Result Card Price / Actions ───────────────────────────────────────── */

.aj-result-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding-top: 10px;
    border-top: 1px solid rgba(13, 94, 168, 0.08);
}

.aj-result-price { min-width: 130px; }

.aj-result-price strong {
    color: var(--aj-blue-dark);
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.aj-result-price .aj-old-price {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 0.82rem;
    font-weight: 700;
    margin-right: 6px;
}

.aj-card-actions {
    display: flex;
    gap: 10px;
}

.aj-card-actions a,
.aj-result-btn {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--aj-radius-sm);
    text-align: center;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.15s ease, background 0.2s ease;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

/* Primary CTA – Orange */
.aj-card-primary,
.aj-result-btn {
    background: linear-gradient(135deg, var(--aj-orange), var(--aj-orange-dark));
    color: #fff;
    border: 0;
    box-shadow: 0 10px 20px rgba(247, 148, 29, 0.18);
}

.aj-card-primary:hover,
.aj-result-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.aj-hebergements-grid.is-grid-view .aj-result-card {
    flex-direction: column;
    min-height: 100%;
}

.aj-hebergements-grid.is-grid-view .aj-result-media {
    width: 100%;
    min-width: 100%;
    aspect-ratio: 16 / 10;
}

.aj-hebergements-grid.is-grid-view .aj-result-media .aj-card-badges {
    justify-content: space-between;
}

.aj-hebergements-grid.is-grid-view .aj-result-body {
    gap: 10px;
    grid-template-rows: auto auto auto 1fr auto;
}

.aj-hebergements-grid.is-grid-view .aj-result-body h3 {
    font-size: 1.08rem;
}

.aj-hebergements-grid.is-grid-view .aj-result-meta {
    gap: 8px 12px;
    font-size: 0.78rem;
}

.aj-hebergements-grid.is-grid-view .aj-result-desc {
    -webkit-line-clamp: 2;
    min-height: 2.7em;
}

.aj-hebergements-grid.is-grid-view .aj-result-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
}

.aj-hebergements-grid.is-grid-view .aj-result-price {
    min-width: 0;
}

.aj-hebergements-grid.is-grid-view .aj-result-btn {
    width: 100%;
}

/* Secondary CTA – Blue outline */
.aj-card-secondary {
    background: var(--aj-blue-soft);
    color: var(--aj-blue-dark);
    border: 1.5px solid rgba(13, 94, 168, 0.2);
}

.aj-card-secondary:hover {
    background: var(--aj-blue);
    color: #fff;
    border-color: var(--aj-blue);
    transform: translateY(-1px);
}

/* ── Empty State ───────────────────────────────────────────────────────── */

.aj-empty-state {
    border-radius: 24px;
    padding: 40px;
    text-align: center;
}

.aj-empty-state h3 { margin: 0 0 8px; font-size: 1.3rem; color: var(--aj-blue-dark); }

.aj-empty-state p { margin: 0 0 20px; color: var(--aj-muted); }

.aj-empty-state button {
    min-height: 46px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--aj-radius-sm);
    text-align: center;
    cursor: pointer;
    transition: filter 0.2s ease;
    background: linear-gradient(135deg, var(--aj-orange), var(--aj-orange-dark));
    color: #fff;
    border: 0;
    font-weight: 800;
}

/* ── Mobile Filter ─────────────────────────────────────────────────────── */

.aj-mobile-filter-trigger {
    display: none;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 50;
    min-height: 54px;
    box-shadow: 0 16px 32px rgba(7, 59, 112, 0.2);
    background: linear-gradient(135deg, var(--aj-orange), var(--aj-orange-dark));
    color: #fff;
    border: 0;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-radius: var(--aj-radius-sm);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.aj-mobile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(6, 43, 85, 0.45);
}

.aj-mobile-backdrop.is-active { display: block; }

.aj-mobile-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    max-height: 88vh;
    overflow: auto;
    border-radius: 26px 26px 0 0;
    background: #fff;
    padding: 22px 20px 24px;
    transform: translateY(108%);
    transition: transform 0.3s ease;
    box-shadow: 0 -20px 40px rgba(6, 43, 85, 0.2);
}

.aj-mobile-panel.is-active { transform: translateY(0); }

.aj-mobile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.aj-mobile-panel-head h3 { margin: 0; font-size: 1.2rem; font-weight: 850; color: var(--aj-blue-dark); }

.aj-mobile-panel-head button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--aj-blue-soft);
    color: var(--aj-blue-dark);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 800;
}

.aj-mobile-panel-body { display: grid; gap: 16px; }

.aj-mobile-panel-actions {
    position: sticky;
    bottom: -24px;
    display: grid;
    gap: 10px;
    padding-top: 18px;
    background: #fff;
}

.aj-mobile-panel-actions button {
    min-height: 48px;
    border-radius: var(--aj-radius-sm);
    border: 0;
    font-weight: 800;
    cursor: pointer;
    font-size: 0.9rem;
}

#ajhb-apply-mobile-filters {
    background: linear-gradient(135deg, var(--aj-orange), var(--aj-orange-dark));
    color: #fff;
}

#ajhb-reset-mobile-filters {
    background: var(--aj-blue-soft);
    color: var(--aj-blue-dark);
    border: 1.5px solid rgba(13, 94, 168, 0.2);
}

body.aj-mobile-filters-open { overflow: hidden; }

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
    .aj-hero-search { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .aj-search-button { grid-column: span 3; }
    .aj-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
    .aj-catalog-layout { grid-template-columns: 290px minmax(0, 1fr); }
    .aj-hebergements-grid.is-grid-view { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1480px) {
    .aj-catalog-layout { grid-template-columns: 290px minmax(0, 1fr); }
    .aj-hebergements-grid.is-grid-view { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    .aj-catalog-layout { grid-template-columns: 1fr; }
    .aj-filters { display: none; }
    .aj-mobile-filter-trigger { display: inline-flex; }
    .aj-result-media { width: 240px; min-width: 240px; }
    .aj-hebergements-grid.is-grid-view { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .aj-hero { padding: 28px 22px; }
    .aj-hero-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .aj-search-button { grid-column: span 2; }
    .aj-section-head,
    .aj-results-meta,
    .aj-card-footer,
    .aj-result-footer { align-items: flex-start; flex-direction: column; }
    .aj-result-card { flex-direction: column; }
    .aj-result-media { width: 100%; min-width: 100%; aspect-ratio: 16 / 9; }
    .aj-result-footer { align-items: stretch; }
    .aj-card-actions { width: 100%; }
    .aj-card-actions a,
    .aj-result-btn { flex: 1 1 auto; }
    .aj-hebergements-grid.is-grid-view { grid-template-columns: 1fr; }
    .aj-view-toggle { order: 3; width: 100%; justify-content: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Body-class overrides — win against any theme/plugin CSS
   ═══════════════════════════════════════════════════════════════════════════ */

.page-hebergement-ajinsafro .aj-hero {
    background: linear-gradient(135deg, #073B70 0%, #0D5EA8 55%, #1783D3 100%) !important;
}

.page-hebergement-ajinsafro .aj-search-button {
    background: linear-gradient(135deg, #F7941D, #E67E00) !important;
    color: #fff !important;
}

.page-hebergement-ajinsafro .aj-card-primary,
.page-hebergement-ajinsafro .aj-result-btn,
.page-hebergement-ajinsafro .aj-featured-link {
    background: linear-gradient(135deg, #F7941D, #E67E00) !important;
    color: #fff !important;
}

.page-hebergement-ajinsafro .aj-card-primary:hover,
.page-hebergement-ajinsafro .aj-result-btn:hover,
.page-hebergement-ajinsafro .aj-featured-link:hover {
    background: linear-gradient(135deg, #E67E00, #cf7304) !important;
}

.page-hebergement-ajinsafro .aj-card-secondary {
    background: #EAF4FF !important;
    color: #073B70 !important;
    border-color: rgba(13, 94, 168, 0.2) !important;
}

.page-hebergement-ajinsafro .aj-card-secondary:hover {
    background: #0D5EA8 !important;
    color: #fff !important;
}

.page-hebergement-ajinsafro .aj-badge {
    background: #F7941D !important;
    color: #fff !important;
}

.page-hebergement-ajinsafro .aj-category-badge {
    background: rgba(13, 94, 168, 0.94) !important;
    color: #fff !important;
}

.page-hebergement-ajinsafro .aj-status-badge {
    background: #EAF8F1 !important;
    color: #128553 !important;
}

.page-hebergement-ajinsafro .aj-result-price strong {
    color: #073B70 !important;
    font-weight: 900 !important;
}

.page-hebergement-ajinsafro .aj-featured-price {
    color: #073B70 !important;
}

.page-hebergement-ajinsafro .aj-view-btn {
    color: #073B70 !important;
    border-color: rgba(13, 94, 168, 0.18) !important;
}

.page-hebergement-ajinsafro .aj-view-btn.is-active {
    background: linear-gradient(135deg, #F7941D, #E67E00) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.page-hebergement-ajinsafro .aj-result-card:hover,
.page-hebergement-ajinsafro .aj-featured-card:hover {
    border-color: rgba(247, 148, 29, 0.3) !important;
}

.page-hebergement-ajinsafro .aj-hero-search {
    border-color: rgba(247, 148, 29, 0.4) !important;
}

.page-hebergement-ajinsafro .aj-filter-head h3 {
    color: #073B70 !important;
}

.page-hebergement-ajinsafro .aj-section-head h2 {
    color: #073B70 !important;
}

.page-hebergement-ajinsafro .aj-mobile-filter-trigger,
.page-hebergement-ajinsafro #ajhb-apply-mobile-filters,
.page-hebergement-ajinsafro .aj-empty-state button {
    background: linear-gradient(135deg, #F7941D, #E67E00) !important;
    color: #fff !important;
}

.page-hebergement-ajinsafro #ajhb-reset-mobile-filters {
    background: #EAF4FF !important;
    color: #073B70 !important;
    border: 1.5px solid rgba(13, 94, 168, 0.2) !important;
}

.aj-pack-page-shell {
    padding-bottom: 72px;
}

.aj-pack-page-container {
    display: grid;
    gap: 28px;
}

.aj-pack-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 28px;
    align-items: stretch;
}

.aj-pack-hero-media {
    min-height: 420px;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, #dce9f8, #f5f9ff);
    box-shadow: 0 20px 50px rgba(7, 59, 112, 0.14);
}

.aj-pack-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aj-pack-hero-fallback {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dce9f8, #f5f9ff);
    color: #67809a;
    font-size: 14px;
    font-weight: 800;
}

.aj-pack-hero-copy {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 28px;
    border-radius: 30px;
    border: 1px solid rgba(13, 94, 168, 0.09);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 20px 50px rgba(7, 59, 112, 0.1);
}

.aj-pack-back,
.aj-featured-title-link,
.aj-featured-visual-link {
    text-decoration: none;
}

.aj-pack-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--aj-blue-dark);
    font-weight: 700;
}

.aj-pack-back:hover,
.aj-featured-title-link:hover,
.aj-featured-visual-link:hover {
    color: var(--aj-orange-dark);
}

.aj-pack-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.aj-pack-hero-copy h1 {
    margin: 0;
    color: var(--aj-blue-dark);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.aj-pack-hero-meta,
.aj-pack-hero-summary,
.aj-pack-empty-copy {
    color: var(--aj-muted);
    line-height: 1.75;
}

.aj-pack-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0;
}

.aj-pack-hero-actions,
.aj-pack-summary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.aj-pack-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 26px;
    align-items: start;
}

.aj-pack-main {
    display: grid;
    gap: 24px;
}

.aj-pack-block,
.aj-pack-summary-card {
    border-radius: 26px;
    border: 1px solid rgba(13, 94, 168, 0.08);
    background: #fff;
    box-shadow: 0 16px 40px rgba(7, 59, 112, 0.08);
}

.aj-pack-block {
    padding: 26px;
}

.aj-pack-block-head {
    margin-bottom: 18px;
}

.aj-pack-block-head h2,
.aj-pack-summary-card h3 {
    margin: 6px 0 0;
    color: var(--aj-blue-dark);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.1;
}

.aj-pack-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.aj-pack-spec {
    padding: 16px 18px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid rgba(13, 94, 168, 0.07);
}

.aj-pack-spec strong,
.aj-pack-summary-list strong {
    display: block;
    margin-bottom: 6px;
    color: var(--aj-blue-dark);
    font-size: 0.84rem;
}

.aj-pack-description {
    color: var(--aj-text);
    line-height: 1.8;
}

.aj-pack-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aj-pack-sidebar {
    position: sticky;
    top: 110px;
}

.aj-pack-summary-card {
    padding: 24px;
    display: grid;
    gap: 16px;
}

.aj-pack-summary-price {
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--aj-orange-soft);
    color: var(--aj-blue-dark);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 900;
    line-height: 1.1;
}

.aj-pack-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.aj-pack-summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(13, 94, 168, 0.08);
    color: var(--aj-text);
}

.aj-pack-summary-list li:last-child {
    border-bottom: 0;
}

.aj-pack-summary-availability {
    color: var(--aj-green);
    font-weight: 800;
}

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

@media (max-width: 640px) {
    .aj-hebergement-booking { padding: 18px 0 84px; }
    .aj-hebergement-container { width: min(100% - 20px, 1280px); }
    .aj-hero-search,
    .aj-filter-grid,
    .aj-card-actions { grid-template-columns: 1fr; }
    .aj-search-button { grid-column: auto; }
    .aj-field input,
    .aj-field select,
    .aj-filter-group input,
    .aj-filter-group select,
    .aj-search-button { min-height: 50px; }
    .aj-featured-grid { grid-template-columns: 1fr; }
    .aj-featured-visual { height: 200px; }
    .aj-result-body { padding: 16px; gap: 10px; }
    .aj-result-body h3 { font-size: 1.1rem; }
    .aj-result-media { aspect-ratio: 4 / 3; }
    .aj-pack-hero,
    .aj-pack-layout,
    .aj-pack-similar-grid,
    .aj-pack-services-grid,
    .aj-pack-specs { grid-template-columns: 1fr; }
    .aj-pack-sidebar { position: static; }
    .aj-pack-hero-copy,
    .aj-pack-block,
    .aj-pack-summary-card { padding: 20px; }
}
