/**
 * Jibril Immo — header, menu, category pages, property cards, hero search.
 */
:root {
    --jib-green: #258136;
    --jib-green-dark: #1d6a2c;
    --jib-forest: #123f2c;
    --jib-mint: #e8f2ea;
    --jib-mist: #f4f8f5;
    --jib-ink: #222;
    --jib-muted: #5f6b63;
    --jib-line: #e1e8e3;
}

/* 1. Info strip (hours, address, e-mail; phone on phones) ------------------ */
.jib-strip { background: var(--jib-mint); color: #1c4a2a; font-size: 13px; line-height: 1.4; }
.jib-strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 28px; max-width: 1280px; margin: 0 auto; padding: 8px 24px; }
.jib-strip-item { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: inherit; }
.jib-strip-item svg { flex: none; color: var(--jib-green); }
a.jib-strip-item:hover { color: var(--jib-green-dark); text-decoration: underline; text-underline-offset: 3px; }
.jib-strip-label { font-weight: 600; }
.jib-strip-phone { display: none; }
@media (max-width: 1279px) { .jib-strip-address { display: none; } }
@media (max-width: 1023px) {
    .jib-strip-inner { flex-direction: column; gap: 2px; padding: 7px 16px; text-align: center; }
    .jib-strip-phone { display: inline-flex; font-size: 14px; font-weight: 700; }
    .jib-strip-mail, .jib-strip-label { display: none; }
    .jib-strip-hours { font-size: 12px; color: #3f5f48; }
    .jib-strip-hours svg { display: none; }
}

/* 2. Desktop menu ------------------------------------------------------------- */
.jib-nav-row { display: flex; align-items: center; gap: 22px; }
.jib-nav-link { display: inline-flex; align-items: center; gap: 2px; color: var(--jib-ink); font-size: 16px; font-weight: 500; white-space: nowrap; transition: color 150ms ease-out; }
.jib-nav-link:hover, .jib-nav-link[aria-expanded="true"] { color: var(--jib-green); }
.jib-nav-chevron { width: 20px; height: 20px; color: var(--jib-green); }
.jib-nav-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    z-index: 40;
    min-width: 360px;
    padding: 8px;
    border: 1px solid var(--jib-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 48px -24px rgba(18, 63, 44, .35);
    transform: none !important;
}
.jib-nav-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.jib-nav-item { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 11px 14px; border-radius: 10px; color: var(--jib-ink); transition: background-color 150ms ease-out; }
.jib-nav-item:hover, .jib-nav-item:focus-visible { background: var(--jib-mist); color: var(--jib-green-dark); }
.jib-nav-item-name { font-size: 15px; font-weight: 600; }
.jib-nav-item-count { flex: none; color: var(--jib-muted); font-size: 13px; }
.jib-nav-ctas { display: flex; align-items: center; gap: 10px; margin-left: 4px; }
.jib-nav-cta { padding: 9px 16px !important; font-size: 15px; white-space: nowrap; }
.jib-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--jib-green);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 150ms ease-out;
}
.jib-phone-btn:hover { background: var(--jib-green-dark); color: #fff; }
.jib-phone-btn--block { display: flex; justify-content: center; width: 100%; margin-bottom: 10px; padding: 13px 18px; font-size: 16px; }
@media (max-width: 1499px) {
    .jib-nav-row { gap: 16px; }
    .jib-nav-link { font-size: 15px; }
    .jib-nav-cta:first-child { display: none; }
}
@media (max-width: 1279px) {
    .jib-nav-ctas .jib-nav-cta { display: none; }
}

/* Mobile drawer */
.jib-drawer-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px 9px 24px; border-radius: 10px; color: var(--jib-ink); font-size: 15px; font-weight: 600; }
.jib-drawer-item:hover { background: var(--jib-mist); }
.jib-drawer-count { min-width: 28px; padding: 2px 8px; border-radius: 999px; background: var(--jib-mint); color: var(--jib-green-dark); font-size: 12px; text-align: center; }

/* 3. Breadcrumb --------------------------------------------------------------- */
.jib-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 0; list-style: none; color: var(--jib-muted); font-size: 14px; line-height: 1.5; }
.jib-crumbs li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.jib-crumbs li + li::before { content: "›"; color: #9aa59d; }
.jib-crumbs a { color: var(--jib-muted); text-decoration: underline; text-decoration-color: rgba(37, 129, 54, .3); text-underline-offset: 3px; }
.jib-crumbs a:hover { color: var(--jib-green); }
.jib-crumbs [aria-current] { color: var(--jib-ink); font-weight: 500; }
.jib-page-heading { padding: 24px 12px 72px; }
.jib-page-heading .jib-crumbs { margin-bottom: 48px; }
.jib-crumbs-bar { padding: 18px 12px 4px; }
@media (max-width: 640px) {
    .jib-page-heading { padding: 16px 16px 48px; }
    .jib-page-heading .jib-crumbs { margin-bottom: 28px; }
    .jib-crumbs ol { font-size: 13px; }
    .jib-crumbs [aria-current] { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* 4. Listing page ------------------------------------------------------------- */
.jib-results { margin: 0 0 20px; color: var(--jib-muted); font-size: 15px; }

/* Owner block after the list */
.jib-owner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px 48px;
    align-items: center;
    margin-top: 64px;
    padding: 32px 36px;
    border-radius: 20px;
    background: var(--jib-mint);
}
.jib-owner-title { margin: 0 0 8px; color: var(--jib-forest); font-size: 24px; font-weight: 700; line-height: 1.25; }
.jib-owner-lead { max-width: 52ch; margin: 0; color: #3f5047; font-size: 16px; line-height: 1.6; }
.jib-owner-ask { margin: 0 0 12px; color: var(--jib-ink); font-size: 15px; font-weight: 600; }
.jib-owner-choices { display: grid; grid-template-columns: repeat(4, 112px); gap: 10px; }
.jib-owner-choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 104px;
    padding: 14px 8px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #fff;
    color: var(--jib-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    transition: border-color 150ms ease-out, transform 150ms ease-out;
}
.jib-owner-choice svg { color: var(--jib-green); }
.jib-owner-choice:hover, .jib-owner-choice:focus-visible { border-color: var(--jib-green); transform: translateY(-2px); }
@media (max-width: 1100px) {
    .jib-owner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .jib-owner { margin-top: 40px; padding: 24px 18px; border-radius: 16px; }
    .jib-owner-title { font-size: 21px; }
    .jib-owner-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Editorial band under the list, full width */
.jib-listing-text {
    width: 100%;
    margin: 72px 0 0;
    padding: 0;
    border-top: 1px solid var(--jib-line);
    background: var(--jib-mist);
    color: #3d4740;
}
.jib-lt-wrap {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 72px;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
    padding: 88px 24px 96px;
}
.jib-lt-head { position: sticky; top: 32px; }
.jib-lt-kicker { margin: 0 0 14px; color: var(--jib-green); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.jib-lt-title { margin: 0 0 28px; color: var(--jib-forest); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.jib-lt-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.jib-lt-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border: 1px solid var(--jib-green); border-radius: 999px; color: var(--jib-green); font-size: 15px; font-weight: 600; transition: background-color 150ms ease-out, color 150ms ease-out; }
.jib-lt-btn:hover { background: var(--jib-green); color: #fff; }
.jib-lt-btn--solid { background: var(--jib-green); color: #fff; }
.jib-lt-btn--solid:hover { background: var(--jib-green-dark); }
.jib-lt-body { font-size: 17px; line-height: 1.8; }
.jib-lt-body p { margin: 0 0 18px; }
.jib-lt-body p:first-child { color: var(--jib-ink); font-size: 20px; font-weight: 500; line-height: 1.6; }
.jib-lt-body p:last-child { margin-bottom: 0; }
.jib-lt-body a { color: var(--jib-green); text-decoration: underline; text-underline-offset: 3px; }
.jib-lt-body h2, .jib-lt-body h3 { margin: 36px 0 12px; color: var(--jib-forest); font-weight: 700; line-height: 1.3; }
.jib-lt-body h2 { font-size: 24px; }
.jib-lt-body h3 { font-size: 19px; }
.jib-lt-body strong, .jib-lt-body b { color: var(--jib-ink); }
@media (max-width: 960px) {
    .jib-lt-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 56px 20px 64px; }
    .jib-lt-head { position: static; }
}
@media (max-width: 640px) {
    .jib-listing-text { margin-top: 48px; }
    .jib-lt-body { font-size: 16px; }
    .jib-lt-body p:first-child { font-size: 18px; }
}

/* 5. Property card ------------------------------------------------------------ */
.jib-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--jib-line);
    border-radius: 16px;
    background: #fff;
    transition: box-shadow 200ms ease-out;
}
.jib-card:hover { box-shadow: 0 22px 44px -28px rgba(18, 63, 44, .45); }
.jib-card-media { position: relative; height: 300px; flex: none; background: #edf1ee; }
.jib-card-track {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.jib-card-track::-webkit-scrollbar { display: none; }
.jib-card-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.jib-card-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jib-card-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-top: -19px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--jib-ink);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    cursor: pointer;
    opacity: 0;
    transition: opacity 160ms ease-out, transform 160ms ease-out;
}
.jib-card-nav--prev { left: 12px; }
.jib-card-nav--next { right: 12px; }
.jib-card:hover .jib-card-nav, .jib-card-nav:focus-visible { opacity: 1; }
.jib-card-nav:hover { transform: scale(1.06); }
.jib-card-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: none) { .jib-card-nav { opacity: .92; width: 34px; height: 34px; margin-top: -17px; } }
.jib-card-count { position: absolute; right: 12px; bottom: 12px; z-index: 4; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; pointer-events: none; }
.jib-card-badges { position: absolute; top: 14px; left: 14px; z-index: 4; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.jib-card-badge { padding: 4px 12px; border-radius: 999px; background: #222; color: #fff; font-size: 13px; line-height: 1.4; }
.jib-card-badge--blue { background: #4070ff; }
.jib-card-badge--red { background: #991b1b; }
.jib-card-price { position: absolute; bottom: 0; left: 0; z-index: 4; padding: 8px 20px; border-top-right-radius: 12px; background: #222; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; pointer-events: none; }

.jib-card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 18px; }
.jib-card-label { align-self: flex-start; margin: 0; padding: 4px 10px; border-radius: 6px; background: var(--jib-mint); color: var(--jib-green-dark); font-size: 13px; font-weight: 600; line-height: 1.35; }
.jib-card-title { display: -webkit-box; min-height: 2.7em; margin: 2px 0 0; overflow: hidden; color: var(--jib-ink); font-size: 18px; font-weight: 700; line-height: 1.35; text-transform: uppercase; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.jib-card .bien-link:hover .jib-card-title { color: var(--jib-green); }
.jib-card-ref { margin: 0; color: var(--jib-muted); font-size: 13px; }
.jib-card-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: auto 0 0; padding: 10px 14px; border-radius: 10px; background: var(--jib-mist); list-style: none; }
.jib-card-facts li { display: inline-flex; align-items: center; gap: 7px; color: #333; font-size: 14px; }
.jib-card-facts svg { flex: none; color: var(--jib-green); }

.jib-card-actions { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--jib-line); background: #fff; }
.jib-card-action { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; padding: 10px 6px; color: #333; font-size: 14px; font-weight: 500; transition: background-color 150ms ease-out; }
.jib-card-action + .jib-card-action { border-left: 1px solid var(--jib-line); }
.jib-card-action svg { flex: none; color: var(--jib-green); }
.jib-card-action--phone svg { color: #c2410c; }
.jib-card-action--wa svg { color: #1bc421; }
.jib-card-action:hover { background: var(--jib-mist); }
@media (prefers-reduced-motion: reduce) {
    .jib-card, .jib-card-nav, .jib-owner-choice { transition: none; }
}

/* 6. Home hero: SEO title, search first, then the introduction --------------- */
.jib-hero-main { display: flex; flex-direction: column; justify-content: center; }
.jib-hero-title { margin: 0 0 8px; }
.jib-h1-main { display: block; color: var(--jib-green); font-size: clamp(34px, 4.2vw, 54px); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; }
.jib-h1-sub { display: block; margin: 0 0 8px; color: #333; font-size: clamp(20px, 1.9vw, 26px); font-weight: 400; line-height: 1.3; }
.jib-hero-search .max-w-5xl { margin-bottom: 28px; }
.jib-hero-lead { color: #6b746e; font-size: 17px; line-height: 1.7; }
.jib-hero-lead p { margin: 0; }
.jib-hero-media { display: flex; align-items: center; }
@media (max-width: 767px) {
    .jib-hero-media { margin-top: 32px; }
}

/* Hero search: type + button first, other criteria folded */
.jib-search { display: grid; gap: 12px; margin-top: 12px; }
.jib-search-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.jib-search-field {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #cfd8d1;
    border-radius: 12px;
    background: #fff;
    color: var(--jib-ink);
    font: inherit;
    font-size: 16px;
}
.jib-search-field:focus { outline: none; border-color: var(--jib-green); box-shadow: 0 0 0 4px rgba(37, 129, 54, .14); }
.jib-search-select {
    padding-right: 42px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235f6b63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}
.jib-search-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--jib-green); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color 150ms ease-out; }
.jib-search-submit:hover { background: var(--jib-green-dark); }
.jib-search-more summary { display: inline-flex; align-items: center; gap: 6px; color: var(--jib-green); font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
.jib-search-more summary::-webkit-details-marker { display: none; }
.jib-search-more summary::after { content: ""; width: 8px; height: 8px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 150ms ease-out; }
.jib-search-more[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.jib-search-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.jib-search-wide { grid-column: 1 / -1; }
@media (max-width: 520px) {
    .jib-search-main { grid-template-columns: minmax(0, 1fr); }
    .jib-search-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 7. FAQ questions are real headings, same look as before -------------------- */
.jib-faq-q { margin: 0; font: inherit; font-weight: 700; }

/* 8. Footer map ---------------------------------------------------------------- */
.jib-footer { padding: 72px 0 64px; }
.jib-map { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; margin-bottom: 64px; padding: 0 12px; }
.jib-map-card { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px; border-radius: 20px; background: #fff; }
.jib-map-title { margin: 0; color: var(--jib-forest); font-size: 24px; font-weight: 700; line-height: 1.25; }
.jib-map-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; color: var(--jib-ink); font-size: 15px; line-height: 1.55; }
.jib-map-list li { display: grid; gap: 2px; }
.jib-map-k { color: var(--jib-green); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.jib-map-list a { color: var(--jib-ink); text-decoration: underline; text-decoration-color: rgba(37, 129, 54, .35); text-underline-offset: 3px; }
.jib-map-list a:hover { color: var(--jib-green); }
.jib-map-card .jib-lt-btn { margin-top: auto; }
.jib-map-frame { min-height: 380px; overflow: hidden; border-radius: 20px; background: #dfe8e1; }
.jib-map-frame iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
@media (max-width: 960px) {
    .jib-map { grid-template-columns: minmax(0, 1fr); margin-bottom: 48px; }
    .jib-map-frame, .jib-map-frame iframe { min-height: 300px; }
}
@media (max-width: 640px) {
    .jib-footer { padding: 48px 0 96px; }
    .jib-map { padding: 0 16px; }
    .jib-map-card { padding: 24px 20px; text-align: left; }
}

/* 9. Reviews: every card has the same height, long reviews fold ---------------- */
.review-carrousel .swiper-wrapper { align-items: stretch; }
.review-carrousel .swiper-slide { display: flex; flex-direction: column; height: auto; }
.review-carrousel blockquote { flex: 1; margin: 0; }
.review-carrousel blockquote p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 7; -webkit-box-orient: vertical; }
.review-carrousel .jib-review-open blockquote p { display: block; -webkit-line-clamp: unset; }
.jib-review-more { margin-top: 12px; padding: 0; border: 0; background: none; color: var(--jib-green); font-size: 14px; font-weight: 600; cursor: pointer; }
.jib-review-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 10. FAQ: clearly clickable questions --------------------------------------- */
.faqButton { cursor: pointer; list-style: none; align-items: center; gap: 16px; transition: color 150ms ease-out; }
.faqButton::-webkit-details-marker { display: none; }
.faqButton:hover, .faqButton:focus-visible { color: var(--jib-green); }
.faqButton svg { flex: none; }

/* 11. Footer credit ---------------------------------------------------------- */
.jib-credit { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid rgba(15, 61, 30, .1); color: rgba(31, 41, 35, .55); font-size: 12px; line-height: 1.6; text-align: center; }
.jib-credit a { color: inherit; text-decoration: none; }
.jib-credit a:hover, .jib-credit a:focus-visible { color: var(--jib-green); text-decoration: underline; text-underline-offset: 3px; }

/* 12. Listing H1: full keyword sentence, kept readable ------------------------ */
.jib-page-heading .jib-listing-h1 { max-width: 920px; margin: 0 auto; font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; }
@media (max-width: 640px) { .jib-page-heading .jib-listing-h1 { font-size: 24px; } }

/* Editorial videos retain their intrinsic ratio within the text column. */
.content-video{width:100%!important;max-width:100%;min-width:0}.content-video-player{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}

.prose{overflow-wrap:anywhere}.prose img,.content-caption{max-width:100%;height:auto}

/* 13. Listing and results filters (open on desktop, "Filtrer" button on mobile) */
.jib-filters { margin: 0 0 16px; border: 1px solid var(--jib-line); border-radius: 16px; background: #fff; }
.jib-filters-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; color: var(--jib-ink); font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.jib-filters-toggle::-webkit-details-marker { display: none; }
.jib-filters-toggle svg { color: var(--jib-green); }
.jib-filters-toggle:focus-visible { outline: 2px solid var(--jib-green); outline-offset: 2px; border-radius: 12px; }
.jib-filters-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--jib-green); color: #fff; font-size: 12px; font-weight: 700; }
.jib-filters-form { padding: 4px 18px 18px; }
.jib-filters-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.jib-filters-field { display: grid; gap: 6px; min-width: 0; }
.jib-filters-field label { color: var(--jib-muted); font-size: 13px; font-weight: 600; }
.jib-filters-field .jib-search-field { min-height: 46px; }
.jib-filters-unit { font-weight: 400; }
.jib-filters-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 14px; }
.jib-filters-actions .jib-search-submit { min-height: 46px; }
.jib-filters-reset { color: var(--jib-green-dark); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .jib-filters-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .jib-filters-grid { grid-template-columns: minmax(0, 1fr); } .jib-filters-actions .jib-search-submit { width: 100%; } }

/* 14. Dialogs: the close button always stays inside the screen ---------------- */
.GalleryModal .jib-gallery-frame { width: min(1280px, calc(100vw - 32px)); }
.GalleryModal .jib-gallery-panel { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.GalleryModal .jib-modal-close--sticky { position: sticky; top: 0; z-index: 10; display: flex; justify-content: flex-end; height: 0; }
.jib-modal-close button:focus-visible, .jib-contact-jump:focus-visible, .jib-wa-float a:focus-visible { outline: 3px solid var(--jib-green); outline-offset: 2px; }
@media (max-width: 767px) {
    .PartagerModal .jib-modal-close, .SearchModal .jib-modal-close, .VVModal .jib-modal-close { top: 8px; right: 8px; }
}

/* 15. Property page on phones: contact shortcut and compact WhatsApp button --- */
.jib-contact-jump { display: none; }
@media (max-width: 767px) {
    .jib-contact-jump { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 12px; padding: 0 20px; border-radius: 999px; background: var(--jib-green); color: #fff; font-size: 16px; font-weight: 600; text-align: center; }
    .jib-contact-jump:hover { background: var(--jib-green-dark); }
    #jib-contact-bien { scroll-margin-top: 16px; }
}
.jib-wa-float-icon { display: none; }
@media (max-width: 767px) {
    .jib-wa-float { right: 12px; bottom: 12px !important; }
    .jib-wa-float a { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .22); }
    .jib-wa-float-img { display: none; }
    .jib-wa-float-icon { display: block; line-height: 0; }
    body { padding-bottom: 76px; }
}

/* 16. Narrow phones (320 px): media never wider than their column ------------ */
img, video, iframe { max-width: 100%; }
