/*!
 * gb5s - gb5s-modern.css : en-tête, barre de recherche, fiche annonce, pied de page.
 * Couleurs de la marque : bleu nuit du logo + or. Chargé sur toutes les pages.
 */
:root {
    --gb-navy: #2f4256;
    --gb-navy-2: #3d5670;
    --gb-gold: #e2a70b;
    --gb-ink: #1d2733;
    --gb-muted: #6b7684;
    --gb-line: #e6e9ee;
    --gb-mist: #f5f7fa;
    --gb-radius: 18px;
}

/* ===================== En-tête ===================== */
.header_area .main_menu { border-bottom: 1px solid var(--gb-line); }
.header_area .sv_become_host {
    border-radius: 999px;
    padding: 9px 16px !important;
    transition: background-color .15s ease;
}
.header_area .sv_become_host:hover { background: var(--gb-mist); }
.header_area .sv_user_login > .dropdown-toggle {
    border: 1px solid var(--gb-line) !important;
    border-radius: 999px !important;
    transition: box-shadow .15s ease;
}
.header_area .sv_user_login > .dropdown-toggle:hover { box-shadow: 0 2px 10px rgba(29, 39, 51, .12); }
.header_area .sv_user_login .dropdown-menu {
    border: 1px solid var(--gb-line);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(29, 39, 51, .14);
    padding: 8px 0;
}

/* Onglet « Logements » (page d'accueil) */
.gb5s-tabs {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 28px;
    z-index: 2;
}
.gb5s-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--gb-ink) !important;
    text-decoration: none !important;
    position: relative;
}
.gb5s-tab .gb5s-type-ico { width: 42px; height: 42px; border-radius: 13px; }
.gb5s-tab .gb5s-type-ico svg { width: 24px; height: 24px; }
.gb5s-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    border-radius: 3px;
    background: var(--gb-ink);
}
/* Sur l'accueil, la grande barre de recherche remplace la petite de l'en-tête */
.gb5s-home-header #front-search-form1 { display: none !important; }
@media (max-width: 991px) {
    /* gb5s-onglets-mobile */
    .gb5s-tabs { gap: 22px; }
    .gb5s-tab { flex-direction: column; gap: 3px; padding: 2px 4px 6px; font-size: 12.5px; line-height: 1.1; }
    .gb5s-tab .gb5s-type-ico { width: 32px; height: 32px; border-radius: 10px; }
    .gb5s-tab .gb5s-type-ico svg { width: 19px; height: 19px; }
    .gb5s-tab.is-active::after { left: 18%; right: 18%; bottom: -1px; height: 2.5px; }
}

/* ===================== Barre de recherche (accueil) ===================== */
.gb5s-hero {
    position: relative;
    z-index: 60;
    padding: 22px 16px 6px;
    display: flex;
    justify-content: center;
}
.gb5s-sbar {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 940px;
    background: #fff;
    border: 1px solid var(--gb-line);
    border-radius: 999px;
    box-shadow: 0 6px 24px rgba(29, 39, 51, .10);
    position: relative;
}
.gb5s-sf {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 22px;
    border-radius: 999px;
    cursor: text;
    transition: background-color .15s ease;
}
.gb5s-sf + .gb5s-sf::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: var(--gb-line);
}
.gb5s-sf:hover { background: var(--gb-mist); }
.gb5s-sf:focus-within { background: #fff; box-shadow: 0 6px 22px rgba(29, 39, 51, .16); z-index: 2; }
.gb5s-sf:focus-within::before, .gb5s-sf:focus-within + .gb5s-sf::before { opacity: 0; }
.gb5s-sf-where { flex-grow: 1.7; }
.gb5s-sf label {
    display: block;
    margin: 0 0 1px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gb-ink);
}
.gb5s-sf input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 0;
    background: transparent;
    font-size: 15px;
    color: var(--gb-ink);
    min-height: 24px;
}
.gb5s-sf input::placeholder { color: var(--gb-muted); }
.gb5s-sf input[type="date"] { font-family: inherit; }
.gb5s-sf input[type="date"]:invalid, .gb5s-sf input[type="date"].is-empty { color: var(--gb-muted); }
.gb5s-stepper { display: flex; align-items: center; gap: 10px; }
.gb5s-stepper button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #c9d0d8;
    background: #fff;
    color: var(--gb-ink);
    line-height: 1;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.gb5s-stepper button:hover { border-color: var(--gb-ink); }
.gb5s-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.gb5s-stepper output { min-width: 18px; text-align: center; font-size: 15px; font-weight: 600; }
.gb5s-sbtn {
    flex: 0 0 auto;
    align-self: center;
    margin: 0 8px 0 4px;
    height: 52px;
    min-width: 52px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--gb-navy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    transition: background-color .15s ease;
}
.gb5s-sbtn:hover { background: var(--gb-navy-2); }
.gb5s-sbtn svg { color: var(--gb-gold); }
.gb5s-sbtn:focus-visible, .gb5s-stepper button:focus-visible, .gb5s-tab:focus-visible { outline: 2px solid var(--gb-gold); outline-offset: 2px; }

/* Destinations suggérées */
.gb5s-suggest {
    position: absolute;
    left: 0;
    top: calc(100% + 12px);
    width: 420px;
    max-width: calc(100vw - 32px);
    max-height: 380px;
    overflow-y: auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(29, 39, 51, .18);
    padding: 18px 10px 10px;
    z-index: 50;
}
.gb5s-suggest[hidden] { display: none; }
.gb5s-suggest h3 { font-size: 14px; font-weight: 700; color: var(--gb-ink); margin: 0 14px 10px; }
.gb5s-suggest button {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 8px 12px;
    border-radius: 14px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--gb-ink);
}
.gb5s-suggest button:hover, .gb5s-suggest button:focus { background: var(--gb-mist); outline: 0; }
.gb5s-suggest img, .gb5s-suggest .gb5s-type-ico { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }

@media (max-width: 767px) {
    .gb5s-hero { padding: 14px 12px 4px; }
    .gb5s-sbar { flex-wrap: wrap; border-radius: 22px; padding: 6px; }
    .gb5s-sf { flex: 1 1 50%; border-radius: 14px; padding: 10px 14px; }
    .gb5s-sf-where { flex-basis: 100%; }
    .gb5s-sf + .gb5s-sf::before { display: none; }
    .gb5s-sf-who { flex: 1 1 45%; }
    .gb5s-sbtn { flex: 1 1 45%; margin: 4px 0 4px 6px; height: 48px; border-radius: 14px; }
    .gb5s-suggest { width: 100%; top: calc(100% + 6px); }
}

/* ===================== Fiche annonce ===================== */
.property-title h3 { font-size: 26px !important; font-weight: 700; color: var(--gb-ink); letter-spacing: -.01em; }
.property-title .share-option,
.property-title .svwishlist > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.property-title .share-option:hover,
.property-title .svwishlist > span:hover { background: var(--gb-mist); }
.property-title .svwishlist .icon-heart { color: #e0405b; }
.sv_photo_div #photos { border-radius: var(--gb-radius); overflow: hidden; margin-left: 0; margin-right: 0; }
.sv_photo_div #photos > div { padding: 4px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.sv_photo_div #photos img,
.sv_photo_div #photos .slider-image-container,
.sv_photo_div #photos .ex-image-container { cursor: zoom-in; transition: filter .2s ease; }
.sv_photo_div #photos img:hover,
.sv_photo_div #photos .slider-image-container:hover { filter: brightness(.9); }
.sv_photo_div { position: relative; }
.sv_all_photos {
    background: #fff !important;
    border: 1px solid var(--gb-ink) !important;
    border-radius: 10px !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
/* Carte de réservation */
.price-card #booking-price {
    border: 1px solid var(--gb-line) !important;
    border-radius: var(--gb-radius) !important;
    box-shadow: 0 10px 34px rgba(29, 39, 51, .12) !important;
    overflow: visible;
}
.price-card .book-price-txt { font-size: 24px; font-weight: 800; color: var(--gb-ink); }
.price-card .single-border, .price-card #booking-price .border { border-color: #cfd5dc !important; }
#save_btn {
    background: var(--gb-navy) !important;
    border-color: var(--gb-navy) !important;
    color: #fff !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    letter-spacing: .01em;
}
#save_btn:hover { background: var(--gb-navy-2) !important; }
#save_btn .icon-bolt { color: var(--gb-gold) !important; }
#booking_table td { padding-top: 10px; padding-bottom: 10px; }

/* ===================== Pied de page ===================== */
#footer.gb5s-footer {
    position: static !important;
    width: 100%;
    z-index: auto !important;
    background: var(--gb-mist);
    border-top: 1px solid var(--gb-line);
    color: var(--gb-ink);
    margin-top: 48px;
    display: block !important;
}
.gb5s-f-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.gb5s-f-ideas { padding: 44px 0 8px; }
.gb5s-f-ideas h2 { font-size: 24px; font-weight: 700; margin: 0 0 18px; color: var(--gb-ink); }
.gb5s-f-tabs { display: flex; gap: 26px; border-bottom: 1px solid #dde2e8; margin-bottom: 24px; overflow-x: auto; }
.gb5s-f-tabs button {
    border: 0;
    background: none;
    padding: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gb-muted);
    position: relative;
    white-space: nowrap;
}
.gb5s-f-tabs button:hover { color: var(--gb-ink); }
.gb5s-f-tabs button.is-active { color: var(--gb-ink); }
.gb5s-f-tabs button.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--gb-ink);
}
.gb5s-f-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 24px; padding-bottom: 30px; }
.gb5s-f-grid[hidden] { display: none; }
.gb5s-f-grid a { display: block; text-decoration: none !important; line-height: 1.35; }
.gb5s-f-grid a strong { display: block; font-size: 15px; color: var(--gb-ink); font-weight: 700; }
.gb5s-f-grid a span { display: block; font-size: 14px; color: var(--gb-muted); }
.gb5s-f-grid a:hover strong { text-decoration: underline; }
.gb5s-f-grid .gf-extra { display: none; }
.gb5s-f-grid.is-open .gf-extra { display: block; }
.gb5s-f-more { border: 0; background: none; padding: 0; font-weight: 700; text-decoration: underline; color: var(--gb-ink); text-align: left; }
.gb5s-f-links { border-top: 1px solid #dde2e8; padding: 36px 0 20px; }
.gb5s-f-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gb5s-f-cols h3 { font-size: 15px; font-weight: 700; margin: 0 0 12px; color: var(--gb-ink); }
.gb5s-f-cols ul { list-style: none; margin: 0; padding: 0; }
.gb5s-f-cols li { margin: 0 0 12px; }
.gb5s-f-cols a { color: var(--gb-ink); font-size: 15px; }
.gb5s-f-cols a:hover { text-decoration: underline; color: var(--gb-ink) !important; }
.gb5s-f-bottom { border-top: 1px solid #dde2e8; padding: 18px 0; }
.gb5s-f-bottom .gb5s-f-wrap { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.gb5s-f-copy { font-size: 14px; color: var(--gb-ink); }
.gb5s-f-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gb5s-f-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gb-ink) !important;
    padding: 7px 12px;
    border-radius: 999px;
    text-decoration: none !important;
}
.gb5s-f-pill:hover { background: #e9edf2; }
.gb5s-f-social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--gb-line);
    color: var(--gb-navy) !important;
    font-size: 15px;
}
.gb5s-f-social:hover { background: var(--gb-navy); color: #fff !important; border-color: var(--gb-navy); }
@media (max-width: 991px) { .gb5s-f-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    #footer.gb5s-footer { padding-bottom: 76px; margin-top: 28px; }
    .gb5s-f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .gb5s-f-cols { grid-template-columns: 1fr; }
    .gb5s-f-cols > div + div { border-top: 1px solid #dde2e8; padding-top: 20px; }
    .gb5s-f-ideas h2 { font-size: 20px; }
}

/* ===================== Accueil : chargement ===================== */
.pageloader { display: none !important; }
#loader.loader-img { display: none !important; }
.gb5s-skel i, .gb5s-skel b {
    display: block;
    border-radius: 14px;
    background: linear-gradient(90deg, #eef1f5 25%, #f7f9fb 50%, #eef1f5 75%);
    background-size: 200% 100%;
    animation: gb5s-shimmer 1.2s ease-in-out infinite;
}
.gb5s-skel i { height: 250px; border-radius: 18px; margin-bottom: 14px; }
.gb5s-skel b { height: 14px; width: 80%; margin-bottom: 9px; border-radius: 7px; }
.gb5s-skel b.s { width: 55%; }
.gb5s-skel b.xs { width: 30%; }
@keyframes gb5s-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .gb5s-skel i, .gb5s-skel b { animation: none; } }

/* ===================== Accueil : aucun résultat ===================== */
.gb5s-empty {
    width: 100%;
    text-align: center;
    padding: 56px 20px 40px;
    color: var(--gb-navy);
}
.gb5s-empty h3 { font-size: 21px; font-weight: 700; color: var(--gb-ink); margin: 16px 0 6px; }
.gb5s-empty p { color: var(--gb-muted); font-size: 15px; margin: 0 0 20px; }
.gb5s-empty-btn {
    border: 1px solid var(--gb-ink);
    background: #fff;
    color: var(--gb-ink);
    font-weight: 700;
    border-radius: 12px;
    padding: 11px 22px;
}
.gb5s-empty-btn:hover { background: var(--gb-mist); }

@media (prefers-reduced-motion: reduce) {
    .gb5s-sf, .gb5s-sbtn, .sv_photo_div #photos img { transition: none; }
}
