/*
Theme Name: Bevwak
Template: listinghive
Description: Thème enfant de ListingHive aux couleurs du design system « Sommet » (Figma Bevwak).
Version: 0.1.0
Text Domain: bevwak
Requires PHP: 8.1
*/

/* ===== Design tokens (Figma · Design system Sommet) ===== */
:root {
	--bv-signal: #FFC629;
	--bv-signal-clair: #FFF4CC;
	--bv-altitude: #1B3A5C;
	--bv-balise: #E8501A;
	--bv-balise-hover: #C9410F;
	--bv-carbone: #0F1A24;
	--bv-glacier: #7CC6E0;
	--bv-glacier-clair: #DDF0F7;
	--bv-roche: #4A5560;
	--bv-neige: #F6F8F9;
	--bv-blanc: #FFFFFF;
	--bv-bordure: #D9E1E7;
	--bv-succes: #1D6B45;
	--bv-succes-clair: #E3F3EA;
	--bv-radius: 8px;
	--bv-container: 1200px;
	--bv-font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--bv-font-title: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
}

/* ===== Base ===== */
body { font-family: var(--bv-font); font-size: 17px; line-height: 1.55; color: var(--bv-carbone); background: var(--bv-neige); }
h1, h2, h3, h4, h5, h6, .hp-listing__title, .header-logo__name, .bv-logo {
	font-family: var(--bv-font-title); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; color: var(--bv-carbone); line-height: 1.05;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.6rem; }
a { color: var(--bv-altitude); }
a:hover { color: var(--bv-balise); }
:focus-visible { outline: 3px solid var(--bv-signal); outline-offset: 2px; }
.container { max-width: calc(var(--bv-container) + 32px); padding-left: 16px; padding-right: 16px; }
.bv-eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bv-balise); margin-bottom: .25rem; }
.bv-todo { background: var(--bv-signal-clair); border-left: 4px solid var(--bv-signal); padding: .75rem 1rem; border-radius: 4px; }
.bv-lead { font-size: 1.25rem; }
/* Titre de section souligné de jaune (Figma) */
.page-title::after, .site-content h1.wp-block-heading::after, .bv-underline::after { content: ""; display: block; width: 84px; height: 7px; margin-top: .6rem; background: var(--bv-signal); border-radius: 2px; }

/* ===== Boutons ===== */
.button, button[type=submit], input[type=submit], .wp-block-button__link, .hp-form__button {
	font-family: var(--bv-font); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem;
	border-radius: 6px; padding: .85em 1.5em; border: 2px solid transparent; transition: background .15s, color .15s; line-height: 1.2;
}
.button--primary, .hp-form__button.button--primary, button[type=submit].button--primary, .bv-btn-primary .wp-block-button__link { background: var(--bv-balise); color: #fff; }
.button--primary:hover, .bv-btn-primary .wp-block-button__link:hover { background: var(--bv-balise-hover); color: #fff; }
.bv-btn-signal .wp-block-button__link, .header-navbar__actions .button--primary { background: var(--bv-signal); color: var(--bv-carbone); }
.bv-btn-signal .wp-block-button__link:hover, .header-navbar__actions .button--primary:hover { background: #F2B600; color: var(--bv-carbone); }
.button--secondary, .bv-btn-outline .wp-block-button__link { background: #fff; color: var(--bv-carbone); border-color: var(--bv-carbone); }
.bv-btn-navy .wp-block-button__link, .button--navy { background: var(--bv-altitude); color: #fff; }

/* ===== Header (Figma : bandeau Carbone) ===== */
.site-header { background: var(--bv-carbone); }
.site-header .header-navbar { max-width: var(--bv-container); margin: 0 auto; padding: 14px 16px; min-height: 68px; align-items: center; }
.header-logo__description { display: none; }
.header-logo__name, .bv-logo { color: #fff; font-size: 1.75rem; display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.header-logo__name::before, .bv-logo::before {
	content: ""; width: 34px; height: 24px; flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 24'%3E%3Cpolygon points='13,2 26,24 0,24' fill='%23E8501A'/%3E%3Ccircle cx='28' cy='5' r='4' fill='%23FFC629'/%3E%3C/svg%3E") no-repeat center / contain;
}
.header-navbar__menu > ul > li > a { color: #fff; font-weight: 500; font-size: 1rem; }
.header-navbar__menu > ul > li > a:hover, .header-navbar__menu .current-menu-item > a { color: var(--bv-signal); }
.header-navbar__actions a:not(.button) { color: #fff; font-weight: 700; }
.header-navbar__burger > a { color: #fff; }
.site-header .header-navbar__end { gap: 2rem; }

/* ===== Footer (Figma) ===== */
.bv-footer { background: var(--bv-carbone); color: #C8D1D9; padding: 56px 0 28px; }
.bv-footer a { color: #fff; text-decoration: none; }
.bv-footer a:hover { color: var(--bv-signal); }
.bv-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.bv-footer__brand p { max-width: 360px; margin-top: .75rem; color: #A9B4BE; }
.bv-footer__title { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bv-signal); margin-bottom: .6rem; }
.bv-footer ul { list-style: none; margin: 0; padding: 0; }
.bv-footer__col li { margin: 0 0 .45rem; }
.bv-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; font-size: .85rem; color: #8B96A1; }
.bv-footer__bottom p { margin: 0; }
.bv-footer__legal ul { display: flex; flex-wrap: wrap; gap: 0 .5rem; }
.bv-footer__legal li + li::before { content: "·"; margin-right: .5rem; }
.bv-footer__legal a { color: #8B96A1; }
@media (max-width: 900px) { .bv-footer__top { grid-template-columns: 1fr 1fr; } .bv-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .bv-footer__top { grid-template-columns: 1fr; } }

/* ===== Listes numérotées « étapes » ===== */
ol.bv-steps { list-style: none; counter-reset: bv; padding: 0; display: grid; gap: 16px; }
ol.bv-steps > li { counter-increment: bv; background: #fff; border: 1px solid var(--bv-bordure); border-radius: var(--bv-radius); padding: 20px 20px 20px 72px; position: relative; }
ol.bv-steps > li::before { content: counter(bv); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--bv-altitude); color: var(--bv-signal); font-family: var(--bv-font-title); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; }

/* ===== Pages Elementor : pleine largeur sous le header commun ===== */
.elementor-template-full-width .site-content { padding: 0; }
.elementor-template-full-width .site-content > .container { max-width: none; width: 100%; padding: 0; }
.elementor-template-full-width .site-content > .container > .row, .elementor-template-full-width .site-content > .container > .row > * { margin: 0; padding: 0; max-width: none; flex-basis: 100%; }

/* Header : menu centré, compte + bouton à droite (Figma) */
.site-header .header-navbar__end { flex: 1; justify-content: flex-end; }
@media (min-width: 1025px) {
	.site-header .header-navbar__menu { flex: 1; display: flex; justify-content: center; }
	.site-header .header-navbar__menu > ul { gap: 1.75rem; }
	.site-header .header-navbar__menu .menu-item--user-login { display: none; }
}
.header-navbar__actions { display: flex; align-items: center; gap: 1.5rem; }
.bv-header-account { color: #fff !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
.bv-header-account:hover { color: var(--bv-signal) !important; }
.header-navbar__actions .hp-menu__item--listing-submit { background: var(--bv-signal); color: var(--bv-carbone); border-color: var(--bv-signal); padding: .7em 1.25em; font-size: .85rem; }
.header-navbar__actions .hp-menu__item--listing-submit:hover { background: #F2B600; border-color: #F2B600; }
.header-navbar__actions .hp-menu__item--listing-submit .hp-icon { display: none; }
@media (max-width: 1024px) { .bv-header-account { display: none; } }
@media (min-width: 1025px) {
	.site-header .header-navbar__menu > ul { display: flex; flex-wrap: nowrap; align-items: center; margin: 0; }
	.site-header .header-navbar__menu > ul > li { margin: 0; white-space: nowrap; }
	.site-header .header-navbar__start { flex: none; }
}

/* ===== Résultats (Figma « Résultats de recherche ») ===== */
.hp-template--listings-view-page .site-header, .tax-hp_listing_category .site-header { padding-bottom: 0; }
.hp-form--listing-search { background: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(15,26,36,.12); padding: 10px; }
.hp-form--listing-search .hp-form__button { background: var(--bv-balise); color: #fff; }
.header-hero, .hp-page__header { background: var(--bv-altitude); }
.hp-page__topbar, .hp-listings + .hp-pagination { color: var(--bv-roche); }
.hp-page__sidebar .hp-form--listing-filter, .hp-page__sidebar .hp-widget, .hp-page__sidebar > .hp-form {
	background: #fff; border: 1px solid var(--bv-bordure); border-radius: 10px; padding: 24px;
}
.hp-form--listing-filter .hp-form__field + .hp-form__field { border-top: 1px solid var(--bv-bordure); padding-top: 18px; margin-top: 18px; }
.hp-form--listing-filter .hp-field__label, .hp-form--listing-filter .hp-form__field > label, .hp-form__field .hp-field__label {
	font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bv-carbone);
}
.hp-form--listing-filter .hp-form__button { width: 100%; background: var(--bv-altitude); color: #fff; }
.hp-form--listing-filter .hp-form__button:hover { background: #142c47; }
input[type=radio], input[type=checkbox] { accent-color: var(--bv-altitude); }
input[type=text], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=url], select, textarea, .select2-container--default .select2-selection--single {
	border: 1px solid var(--bv-bordure); border-radius: 6px; background: #fff; font-family: var(--bv-font); font-size: 1rem; min-height: 46px;
}
input:focus, select:focus, textarea:focus { border-color: var(--bv-altitude); box-shadow: 0 0 0 2px rgba(27,58,92,.15); }

/* Carte annonce */
.hp-listing--view-block { background: #fff; border: 1px solid var(--bv-bordure); border-radius: 10px; overflow: hidden; box-shadow: none; transition: box-shadow .15s, transform .15s; }
.hp-listing--view-block:hover { box-shadow: 0 10px 24px rgba(15,26,36,.10); transform: translateY(-2px); }
.hp-listing--view-block .hp-listing__image { background: var(--bv-glacier-clair); border-radius: 0; margin: 0; }
.hp-listing__image img[src*="placeholders/"] { opacity: 0; }
.hp-listing--view-block .hp-listing__content { padding: 18px 20px 8px; }
.hp-listing--view-block .hp-listing__categories, .hp-listing--view-block .hp-listing__details--primary { display: none; }
.hp-listing--view-block .hp-listing__title { font-size: 1.35rem; margin: 0 0 4px; }
.hp-listing--view-block .hp-listing__title a { color: var(--bv-carbone); text-decoration: none; }
.hp-listing--view-block .hp-listing__attributes--secondary .hp-row { display: flex; flex-wrap: wrap; margin: 0; }
.hp-listing--view-block .hp-listing__attributes--secondary [class*="hp-col-"] { flex: none; max-width: none; width: auto; padding: 0; margin: 0; }
.hp-listing--view-block .hp-listing__attributes--secondary [class*="hp-col-"] + [class*="hp-col-"]::before { content: "·"; margin: 0 .4em; color: var(--bv-roche); }
.hp-listing--view-block .hp-listing__attribute { color: var(--bv-roche); font-size: .9rem; margin: 0; }
.hp-listing--view-block .hp-listing__footer { margin: 0 20px; padding: 12px 0 16px; border-top: 1px solid var(--bv-bordure); display: flex; align-items: center; justify-content: space-between; }
.hp-listing__attribute--prix-par-jour { display: inline-block; background: var(--bv-signal); color: var(--bv-carbone) !important; font-weight: 700; font-size: 1.05rem; padding: 3px 10px; border-radius: 4px; }
.hp-listing__actions .hp-listing__action { color: var(--bv-roche); }
.hp-listing__actions .hp-listing__action:hover, .hp-listing__action--favorite.hp-state-active { color: var(--bv-balise); }
.hp-pagination .page-numbers { border-radius: 50%; min-width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--bv-bordure); background: #fff; color: var(--bv-carbone); font-weight: 600; }
.hp-pagination .page-numbers.current { background: var(--bv-signal); border-color: var(--bv-signal); }
/* Bandeau de recherche Altitude pleine largeur + grille 3 colonnes (Figma) */
.hp-page__header { position: relative; padding: 26px 0; margin-bottom: 40px; }
.hp-page__header::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); background: var(--bv-altitude); z-index: -1; }
.site-content { padding-top: 0; }
.hp-page__header .hp-form--listing-search { box-shadow: none; }
@media (min-width: 1025px) {
	.hp-page > .hp-row > .hp-page__sidebar { flex: 0 0 300px; max-width: 300px; }
	.hp-page > .hp-row > .hp-page__content { flex: 1; max-width: none; }
	.hp-listings.hp-grid .hp-grid__item.hp-col-sm-6 { flex-basis: 33.333%; max-width: 33.333%; }
}
.hp-listing--view-block .hp-listing__attributes--secondary { margin: 0; }
.hp-listing--view-block .hp-listing__attributes--secondary .hp-row { gap: 0; }
.hp-form--listing-filter .hp-field__label small, .hp-form__field label small { display: none; }
.hp-listing--view-block .hp-listing__attributes--secondary [class*="hp-col-"] { flex-basis: auto !important; }
.hp-listing--view-block .hp-listing__attributes--secondary .hp-row { justify-content: flex-start; }
@media (min-width: 1025px) { .hp-page > .hp-row > .hp-page__sidebar { flex: 0 0 340px; max-width: 340px; } }
.hp-page__sidebar .hp-form--listing-filter { padding: 22px; }

/* ===== Fiche annonce (Figma « Fiche annonce ») ===== */
.hp-listing--view-page .hp-listing__categories, .hp-listing--view-page .hp-listing__details--primary, .hp-listing--view-page .hp-page__topbar { display: none; }
.hp-listing--view-page .hp-listing__title { font-size: clamp(2rem, 4vw, 3rem); margin: 8px 0 6px; }
.single-hp_listing .site-content { padding-top: 32px; }
.bv-listing-meta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; color: var(--bv-roche); margin: 0 0 4px; }
.bv-omnibus { font-size: .85rem; color: var(--bv-roche); margin: 0 0 24px; }
.bv-badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bv-glacier-clair); color: var(--bv-altitude); }
.bv-badge--seller { background: var(--bv-glacier-clair); }
.bv-h2, .hp-section__title { font-size: 1.6rem; margin: 36px 0 14px; }
.bv-h2::after, .hp-section__title::after { content: ""; display: block; width: 56px; height: 5px; margin-top: 6px; background: var(--bv-signal); border-radius: 2px; }
.hp-listing--view-page .hp-listing__description { font-size: 1.02rem; }
.hp-listing--view-page .hp-listing__attributes--secondary { background: #fff; border: 1px solid var(--bv-bordure); border-radius: 10px; overflow: hidden; }
.hp-listing--view-page .hp-listing__attributes--secondary .hp-row { margin: 0; }
.hp-listing--view-page .hp-listing__attributes--secondary [class*="hp-col-"] { flex-basis: 100%; max-width: 100%; padding: 0; }
.hp-listing--view-page .hp-listing__attributes--secondary .hp-listing__attribute { padding: 11px 16px; margin: 0; border-bottom: 1px solid var(--bv-bordure); }
.hp-listing--view-page .hp-listing__attributes--secondary [class*="hp-col-"]:nth-child(odd) .hp-listing__attribute { background: var(--bv-neige); }
.hp-listing--view-page .hp-listing__attributes--secondary [class*="hp-col-"]:last-child .hp-listing__attribute { border-bottom: 0; }
.hp-listing__attribute strong { font-weight: 600; }
ul.bv-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
ul.bv-chips li { background: var(--bv-signal-clair); border-radius: 999px; padding: 4px 12px; font-size: .88rem; font-weight: 600; }

/* Calendrier */
.bv-calendar { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; background: #fff; border: 1px solid var(--bv-bordure); border-radius: 10px; padding: 20px; }
.bv-calendar__title { font-weight: 700; margin: 0 0 8px; text-transform: capitalize; }
.bv-calendar table { width: 100%; border-collapse: separate; border-spacing: 4px; text-align: center; }
.bv-calendar th { font-size: .75rem; color: var(--bv-roche); font-weight: 600; }
.bv-day { padding: 8px 0; border-radius: 4px; font-size: .9rem; }
.bv-day--past { color: #B5BEC6; }
.bv-day--taken { background: var(--bv-neige); color: #B5BEC6; text-decoration: line-through; }
.bv-day--sel, td.bv-day--sel { background: var(--bv-signal); color: var(--bv-carbone); font-weight: 700; text-decoration: none; }
.bv-calendar__legend { grid-column: 1 / -1; font-size: .85rem; color: var(--bv-roche); display: flex; gap: 6px; align-items: center; margin: 0; }
.bv-calendar__legend span { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-left: 10px; }
.bv-calendar__legend .bv-day--taken { border: 1px solid var(--bv-bordure); }

/* Bloc de réservation (barre latérale) */
.bv-booking { background: #fff; border: 1px solid var(--bv-bordure); border-radius: 10px; padding: 22px; box-shadow: 0 10px 28px rgba(15,26,36,.08); }
.hp-listing--view-page .hp-page__sidebar > .hp-listing__attributes--primary { display: none; }
.bv-booking__price { margin: 0 0 14px; color: var(--bv-roche); }
.bv-booking__price strong { background: var(--bv-signal); color: var(--bv-carbone); font-size: 1.6rem; font-family: var(--bv-font-title); padding: 2px 10px; border-radius: 4px; margin-right: 4px; }
.bv-booking__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bv-booking__dates label, .bv-booking__msg { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: block; }
.bv-booking__dates input { width: 100%; margin-top: 4px; border: 1.5px solid var(--bv-carbone); }
.bv-booking__mode { border: 0; padding: 0; margin: 12px 0 0; display: flex; gap: 12px; flex-wrap: wrap; font-size: .92rem; }
.bv-booking__mode legend { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.bv-booking__lines { margin: 16px 0; font-size: .95rem; }
.bv-booking__lines > div { display: flex; justify-content: space-between; padding: 4px 0; }
.bv-booking__lines dt, .bv-booking__lines dd { margin: 0; }
.bv-booking__total { border-top: 1px solid var(--bv-bordure); margin-top: 8px; padding-top: 10px !important; font-weight: 700; font-size: 1.1rem; }
.bv-booking__deposit { background: var(--bv-glacier-clair); border-radius: 8px; padding: 12px 14px; font-size: .88rem; color: var(--bv-altitude); margin-bottom: 14px; }
.bv-booking__deposit strong { display: block; }
.bv-booking__msg textarea { width: 100%; margin-top: 4px; min-height: 0; font-size: .95rem; text-transform: none; letter-spacing: 0; }
.bv-check { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; margin: 10px 0; }
.bv-check input { margin-top: 3px; flex: none; }
.bv-booking__submit { width: 100%; margin-top: 6px; text-align: center; }
.bv-booking__submit:disabled { opacity: .5; cursor: not-allowed; }
.bv-booking__hint { text-align: center; font-size: .85rem; color: var(--bv-roche); margin: 10px 0 0; }
.bv-booking__warn { color: var(--bv-balise-hover); font-weight: 600; font-size: .9rem; }
.bv-notice { border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; font-weight: 600; }
.bv-notice--ok { background: var(--bv-succes-clair); color: var(--bv-succes); }
.bv-notice--err { background: #FDE8E0; color: #9A2E0B; }

/* Mes réservations */
.bv-bookings { display: grid; gap: 12px; }
.bv-bookcard { display: flex; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid var(--bv-bordure); border-radius: 10px; padding: 16px 18px; }
.bv-bookcard p { margin: 0 0 4px; }
.bv-bookcard__title a { font-weight: 700; color: var(--bv-carbone); }
.bv-bookcard__msg { font-style: italic; color: var(--bv-roche); }
.bv-bookcard__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.bv-bookcard__side form { margin: 0; }
.bv-badge--pending { background: var(--bv-signal-clair); color: #7A5B00; }
.bv-badge--accepted, .bv-badge--completed { background: var(--bv-succes-clair); color: var(--bv-succes); }
.bv-badge--refused, .bv-badge--expired, .bv-badge--cancelled { background: var(--bv-neige); color: var(--bv-roche); }
.bv-badge--dispute { background: #FDE8E0; color: #9A2E0B; }
@media (max-width: 640px) { .bv-bookcard { flex-direction: column; } .bv-bookcard__side { align-items: flex-start; } }
[hidden] { display: none !important; }
.hp-listing--view-page .hp-page__sidebar .hp-listing__attributes--primary { display: none; }
.hp-listing--view-page .hp-listing__attributes--secondary [class*="hp-col-"]:has(.hp-listing__attribute--commune) { display: none; }
.hp-listing--view-page .hp-listing__attribute--poids::before { content: "Poids : "; font-weight: 600; }

/* ===== Formulaire de recherche (accueil + résultats) ===== */
.hp-form--listing-search .hp-form__fields { display: flex; flex-wrap: wrap; gap: 0; align-items: stretch; }
.hp-form--listing-search .hp-form__field { flex: 1 1 180px; margin: 0; padding: 0 12px; border-right: 1px solid var(--bv-bordure); }
.hp-form--listing-search .hp-form__field:last-child { border-right: 0; }
.hp-form--listing-search input, .hp-form--listing-search select, .hp-form--listing-search .select2-selection { border: 0 !important; box-shadow: none !important; padding-left: 0; font-weight: 600; }
.hp-form--listing-search .hp-form__footer { margin: 0; }
.hp-form--listing-search { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hp-form--listing-search .hp-form__fields { flex: 1; }
.bv-home-search { width: 100%; max-width: 640px; }
.bv-home-search .hp-form--listing-search { padding: 10px; }
@media (max-width: 640px) { .hp-form--listing-search .hp-form__field { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--bv-bordure); padding: 4px 8px; } .hp-form--listing-search .hp-form__footer, .hp-form--listing-search .hp-form__button { width: 100%; } }
.bv-home-search { max-width: 760px; }
.hp-form--listing-search .hp-form__field { flex: 1 1 0; min-width: 120px; }
.hp-form--listing-search .hp-form__field--select, .hp-form--listing-search .hp-form__field--search { flex-grow: 1.4; }
.hp-form--listing-search .hp-form__button { white-space: nowrap; }
.hp-form--listing-search .hp-form__fields { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; min-width: 0; }
.hp-form--listing-search .hp-form__field { min-width: 0; }
.hp-form--listing-search .hp-form__field--select { order: -1; }
@media (max-width: 640px) { .hp-form--listing-search .hp-form__fields { grid-template-columns: 1fr 1fr; } .hp-form--listing-search .hp-form__field--select, .hp-form--listing-search .hp-form__field--search { grid-column: 1 / -1; } }
.bv-home-search .hp-form__fields { grid-template-columns: 1fr 1fr; row-gap: 6px; }
.bv-home-search .hp-form__field--select { order: -2; }
.bv-home-search .hp-form__field--search { order: -1; border-right: 0; }
.bv-home-search .hp-form__field--date + .hp-form__field--date { border-right: 0; }
.bv-home-search .hp-form__field:nth-child(n) { border-bottom: 0; }

/* ===== Publier une annonce (Figma) ===== */
.bv-submit .site-content { padding-top: 0; }
.bv-submit .hp-page__title, .bv-submit .page-title { display: none; }
.bv-submit-hero { position: relative; padding: 48px 0 36px; margin-bottom: 36px; }
.bv-submit-hero::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); background: var(--bv-signal); z-index: -1; }
.bv-submit-hero .bv-eyebrow { color: var(--bv-carbone); }
.bv-submit-hero h1 { margin: 6px 0 10px; }
.bv-submit-hero h1::after { display: none; }
.bv-stepper { list-style: none; counter-reset: s; display: inline-flex; flex-wrap: wrap; gap: 8px 22px; background: #fff; border-radius: 8px; padding: 10px 16px; margin: 12px 0 0; }
.bv-stepper li { counter-increment: s; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
.bv-stepper li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bv-altitude); color: var(--bv-signal); font-size: .8rem; font-weight: 700; }
@media (min-width: 1025px) {
	.bv-submit .hp-page__content, .bv-submit .site-main .hp-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 40px; align-items: start; }
	.bv-submit .bv-submit-hero { grid-column: 1 / -1; }
	.bv-submit .bv-tips { grid-column: 2; grid-row: 2; position: sticky; top: 24px; }
	.bv-submit .hp-form--listing-submit { grid-column: 1; grid-row: 2; }
}
fieldset.bv-step { background: #fff; border: 1px solid var(--bv-bordure); border-radius: 10px; padding: 22px 24px 8px; margin: 0 0 18px; min-width: 0; }
fieldset.bv-step legend { float: left; width: 100%; font-family: var(--bv-font-title); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 0; }
fieldset.bv-step legend + * { clear: both; }
.bv-step__num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bv-altitude); color: var(--bv-signal); font-size: 1rem; }
.bv-step .hp-form__field { margin-bottom: 16px; }
.bv-step .hp-form__field label, .bv-step .hp-field__label { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 600; }
.bv-tips { background: var(--bv-carbone); color: #E5EBF0; border-radius: 10px; padding: 24px; }
.bv-tips h2 { color: var(--bv-signal); font-size: 1.5rem; margin: 0 0 12px; }
.bv-tips h2::after { display: none; }
.bv-tips ul { list-style: none; padding: 0; margin: 0 0 16px; }
.bv-tips li { margin-bottom: 8px; }
.bv-tips li::before { content: "— "; }
.bv-tips__deposit { background: var(--bv-glacier-clair); color: var(--bv-altitude); border-radius: 8px; padding: 12px; font-size: .9rem; }
.bv-tips__legal { font-size: .85rem; color: #A9B4BE; margin: 12px 0 0; }
.bv-submit .hp-form__footer .hp-form__button { background: var(--bv-altitude); color: #fff; }
@media (min-width: 1025px) { .site-header .header-navbar__menu .menu-item--user-account { display: none; } }

/* ===== Mobile / divers ===== */
.bv-404 { text-align: center; padding: 72px 0; max-width: 560px; margin: 0 auto; }
.bv-404 h1::after { margin-left: auto; margin-right: auto; }
.bv-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 1024px) {
	.header-navbar__actions .hp-menu__item--listing-submit .hp-icon { display: inline-block; margin: 0; }
	.header-navbar__actions .hp-menu__item--listing-submit { padding: .6em .8em; }
	.header-navbar__burger > a { font-size: 1.3rem; }
	.hp-page__header { margin-bottom: 24px; }
	.hp-page__header .hp-button--wide, .hp-page__header .button--secondary, .hp-page__header [data-component="modal"] + .button, .hp-page__header .hp-link { color: #fff; }
}
.hp-button--wide, .hp-page__header .button--secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }

/* ===== Accessibilité (WCAG 2.1 AA) : orange Balise foncé pour le texte blanc et les petits textes ===== */
:root { --bv-balise-texte: #B83A0D; }
.button--primary, .hp-form__button.button--primary, button[type=submit].button--primary, .bv-btn-primary .wp-block-button__link, .hp-form--listing-search .hp-form__button { background: #C9410F; }
.button--primary:hover, .bv-btn-primary .wp-block-button__link:hover, .hp-form--listing-search .hp-form__button:hover { background: #A8360C; }
.bv-eyebrow { color: var(--bv-balise-texte); }

/* ===== État des lieux, litige, avis, disponibilités ===== */
.bv-bookcard { flex-wrap: wrap; }
.bv-bookcard__extra { flex-basis: 100%; }
.bv-checkin { border-top: 1px solid var(--bv-bordure); padding-top: 10px; margin-top: 6px; }
.bv-checkin summary { cursor: pointer; font-weight: 700; color: var(--bv-altitude); }
.bv-checkin__body { display: grid; gap: 14px; margin-top: 12px; }
.bv-checkin__title { font-weight: 700; margin: 0 0 6px; }
.bv-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.bv-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }
.bv-file { display: block; font-size: .9rem; margin-bottom: 6px; }
.bv-file input { display: block; margin-top: 4px; }
.bv-claim, .bv-rate { background: var(--bv-neige); border-radius: 8px; padding: 12px; display: grid; gap: 8px; }
.bv-claim label, .bv-rate label { font-size: .9rem; }
.bv-claim textarea, .bv-claim input, .bv-rate textarea { width: 100%; display: block; margin-top: 4px; }
.bv-rate fieldset { border: 0; padding: 0; margin: 0; }
.bv-rate legend { font-weight: 700; }
.bv-rate__stars { display: flex; gap: 12px; }
.bv-hint { font-size: .85rem; color: var(--bv-roche); margin: 0; }
.bv-availability { margin-top: 32px; }
.bv-availability .bv-calendar { margin: 12px 0 16px; }
.bv-day button { width: 100%; padding: 8px 0; border: 0; border-radius: 4px; background: var(--bv-succes-clair); font: inherit; cursor: pointer; }
.bv-day--blocked button { background: var(--bv-carbone); color: #fff; text-decoration: line-through; }
.bv-day button:hover { outline: 2px solid var(--bv-altitude); }
/* Accueil : cartes catégories cliquables, dernières annonces */
.bv-catlink { position: absolute; inset: 0; z-index: 1; border-radius: 8px; }
.bv-catlink:focus-visible { outline: 3px solid var(--bv-signal); }
.bv-home-latest { width: 100%; }
.bv-home-latest .hp-listings .hp-grid__item { flex-basis: 25%; max-width: 25%; }
@media (max-width: 1024px) { .bv-home-latest .hp-listings .hp-grid__item { flex-basis: 50%; max-width: 50%; } }
@media (max-width: 560px) { .bv-home-latest .hp-listings .hp-grid__item { flex-basis: 100%; max-width: 100%; } }
.bv-results-title { margin: 0 0 20px; }
.bv-results-title h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.bv-results-title h1::after { content: ""; display: block; width: 84px; height: 7px; margin-top: .6rem; background: var(--bv-signal); border-radius: 2px; }
.bv-results-title p { color: var(--bv-roche); margin: 10px 0 0; }
.bv-skip { position: absolute; left: -9999px; top: 8px; z-index: 10000; background: var(--bv-signal); color: var(--bv-carbone); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.bv-skip:focus { left: 8px; }
/* Cartes : « commune · poids » sur une seule ligne quelle que soit la largeur */
.hp-listing--view-block .hp-listing__attributes--secondary [class*="hp-col-"] { display: flex; align-items: baseline; }
/* Tablette : espace entre l'icône + et le texte du bouton */
@media (min-width: 641px) and (max-width: 1024px) { .header-navbar__actions .hp-menu__item--listing-submit .hp-icon { margin-right: .45em; } }
@media (max-width: 640px) { .header-navbar__actions .hp-menu__item--listing-submit span { display: none; } }
/* Fiche annonce : une colonne sous 1024 px + barre « Choisir mes dates » */
.bv-mobile-cta { display: none; }
@media (max-width: 1024px) {
	.hp-listing--view-page.hp-row > .hp-page__content, .hp-listing--view-page.hp-row > .hp-page__sidebar,
	.single-hp_listing .hp-page__content, .single-hp_listing .hp-page__sidebar { flex-basis: 100%; max-width: 100%; }
	.single-hp_listing .hp-page__sidebar .inner-wrapper-sticky { position: static !important; transform: none !important; width: auto !important; }
	.bv-booking { max-width: 560px; }
	.bv-mobile-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; background: #C9410F; color: #fff !important; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; padding: 14px 18px; border-radius: 8px; box-shadow: 0 8px 24px rgba(15,26,36,.25); text-decoration: none; }
	.bv-mobile-cta span { text-transform: none; letter-spacing: 0; font-size: 1rem; }
	.single-hp_listing .bv-footer { padding-bottom: 90px; }
}
.hp-listing__actions .button--primary, .hp-listing__actions .hp-listing__action--message.button, .hp-listing__actions .button--primary span { color: #fff !important; }
#bv-booking { scroll-margin-top: 16px; }

/* =====================================================================
   DESIGN V2 (2026-11-25) : logo officiel, header blanc, bandeau de page universel
   (modèle : « Le Carnet »), finitions. Ces règles priment sur celles du dessus.
   ===================================================================== */
:root { --bv-radius: 12px; --bv-shadow: 0 1px 2px rgba(15,26,36,.06), 0 8px 24px rgba(15,26,36,.06); --bv-shadow-hover: 0 2px 4px rgba(15,26,36,.08), 0 16px 32px rgba(15,26,36,.10); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--bv-signal); color: var(--bv-carbone); }

/* --- Header blanc (logo bleu lisible) --- */
.site-header { background: #fff; border-bottom: 1px solid var(--bv-bordure); position: sticky; top: var(--wp-admin--admin-bar--height, 0); z-index: 100; }
.site-header .header-navbar { min-height: 76px; padding-top: 12px; padding-bottom: 12px; }
.header-logo .custom-logo-link { display: inline-flex; align-items: center; }
.header-logo .custom-logo { height: 32px; width: auto; max-width: none; display: block; }
.header-logo__name::before, .bv-logo::before { content: none; }
.header-logo__name { color: var(--bv-altitude); }
.header-navbar__menu > ul > li > a { color: var(--bv-carbone); font-weight: 600; font-size: .98rem; position: relative; padding: 8px 0; }
.header-navbar__menu > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--bv-signal); transform: scaleX(0); transition: transform .2s; }
.header-navbar__menu > ul > li > a:hover, .header-navbar__menu .current-menu-item > a { color: var(--bv-altitude); }
.header-navbar__menu > ul > li > a:hover::after, .header-navbar__menu .current-menu-item > a::after { transform: scaleX(1); }
.bv-header-account { color: var(--bv-altitude) !important; }
.bv-header-account:hover { color: var(--bv-balise-texte) !important; }
.header-navbar__burger > a { color: var(--bv-carbone); }
.header-navbar__actions .hp-menu__item--listing-submit { border-radius: 8px; box-shadow: 0 1px 0 rgba(15,26,36,.08); }
@media (max-width: 640px) { .header-logo .custom-logo { height: 26px; } .site-header .header-navbar { min-height: 64px; } }

/* --- Bandeau de page universel (Le Carnet) --- */
.header-hero { background: var(--bv-signal) !important; background-image: none !important; color: var(--bv-carbone); padding: 0; position: relative; overflow: hidden; }
.header-hero::before { display: none; }
.header-hero__content { padding: 72px 0 64px; }
.header-hero .row, .header-hero [class*="col-"] { margin: 0; padding: 0; max-width: none; flex-basis: 100%; }
.bv-pagehead { position: relative; z-index: 1; max-width: 860px; }
.bv-pagehead__eyebrow, .bv-submit-hero .bv-eyebrow { font-family: var(--bv-font); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bv-carbone); margin: 0 0 14px; }
.bv-pagehead__title, .bv-submit-hero h1 { font-family: var(--bv-font-title); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; color: var(--bv-carbone); margin: 0 0 16px; }
.bv-pagehead__title::after, .header-hero h1::after { display: none !important; }
.bv-pagehead__lead, .bv-submit-hero > p:not(.bv-eyebrow) { font-size: 1.0625rem; line-height: 1.5; max-width: 640px; margin: 0; color: var(--bv-carbone); }
/* Repère du logo en filigrane */
@media (min-width: 900px) {
	.header-hero::after, .hp-page__header::after, .bv-submit-hero::after {
		content: ""; position: absolute; right: max(24px, calc(50% - 640px)); bottom: -40px; width: 280px; height: 280px;
		background: url("assets/img/bevwak-icone-512.png") no-repeat center / contain; opacity: .1; pointer-events: none;
	}
}
.page .site-content, .single-post .site-content { padding-top: 56px; padding-bottom: 80px; }

/* Résultats : même bandeau jaune, titre + recherche dedans */
.hp-page__header { padding: 56px 0 40px; margin-bottom: 40px; overflow: visible; }
.hp-page__header::before { background: var(--bv-signal); }
.hp-page__header .bv-pagehead { margin-bottom: 24px; }
.hp-page__header .hp-form--listing-search { box-shadow: 0 10px 30px rgba(15,26,36,.12); border-radius: 12px; position: relative; z-index: 1; }
.hp-page__header .hp-button--wide, .hp-page__header .button--secondary { background: #fff; color: var(--bv-carbone) !important; border-color: var(--bv-bordure); }
/* Publier : aligné sur le bandeau universel */
.bv-submit-hero { padding: 72px 0 48px; overflow: visible; }
.bv-submit-hero::after { z-index: -1; }

/* --- Contenu des pages : lisibilité --- */
.page__text { max-width: 800px; font-size: 1.0625rem; line-height: 1.7; }
.page__text h2, .page__text .wp-block-heading { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 48px 0 16px; }
.page__text h2:first-child { margin-top: 0; }
.page__text p, .page__text li { color: #24323F; }
.page__text a { color: var(--bv-altitude); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.page__text ul:not(.bv-chips) { padding-left: 1.2em; }
.page__text ul:not(.bv-chips) li { margin-bottom: 8px; }
.page__text li::marker { color: var(--bv-balise-texte); }
.bv-lead { font-size: 1.25rem; font-weight: 500; color: var(--bv-altitude); }
.wp-block-table { overflow-x: auto; margin: 24px 0; }
.wp-block-table table { border-collapse: collapse; width: 100%; background: #fff; border-radius: var(--bv-radius); overflow: hidden; box-shadow: var(--bv-shadow); font-size: .95rem; }
.wp-block-table th { background: var(--bv-altitude); color: #fff; text-align: left; font-weight: 600; padding: 12px 14px; }
.wp-block-table td { padding: 12px 14px; border-top: 1px solid var(--bv-bordure); vertical-align: top; }
.wp-block-table tr:nth-child(even) td { background: var(--bv-neige); }
.bv-version { font-size: .85rem; color: var(--bv-roche); }
ol.bv-steps > li { border-radius: var(--bv-radius); box-shadow: var(--bv-shadow); border-color: transparent; padding-top: 22px; padding-bottom: 22px; }
.wp-block-buttons { margin-top: 32px; gap: 12px; }

/* --- Composants : rayons, ombres, boutons cohérents --- */
.button, .wp-block-button__link, .hp-form__button, button[type=submit] { border-radius: 8px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.hp-listing--view-block, .bv-booking, .bv-calendar, .bv-bookcard, fieldset.bv-step, .bv-tips, .hp-page__sidebar .hp-form--listing-filter, .hp-listing--view-page .hp-listing__attributes--secondary, .hp-vendor--view-block, .hp-listing__actions--primary.hp-widget { border-radius: var(--bv-radius); }
.hp-listing--view-block, .bv-bookcard, fieldset.bv-step, .hp-page__sidebar .hp-form--listing-filter, .hp-vendor--view-block, .hp-listing__actions--primary.hp-widget { border-color: transparent; box-shadow: var(--bv-shadow); }
.hp-listing--view-block:hover { box-shadow: var(--bv-shadow-hover); }
.hp-listing--view-block .hp-listing__image { background: linear-gradient(160deg, var(--bv-glacier-clair), #CFE8F2); }
.hp-listing--view-block .hp-listing__image::after { content: ""; position: absolute; inset: 0; background: url("assets/img/bevwak-icone-512.png") no-repeat center / 64px; opacity: .18; pointer-events: none; }
.hp-listing--view-block .hp-listing__image { position: relative; }
.hp-listing--view-block .hp-listing__title { font-size: 1.3rem; letter-spacing: .01em; }
.hp-listing__attribute--prix-par-jour { border-radius: 6px; }
.bv-h2, .hp-section__title { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }

/* --- Footer --- */
.bv-footer { padding-top: 64px; }
.bv-footer__logo img { height: 32px; width: auto; display: block; }
.bv-footer__brand p { margin-top: 16px; }
.bv-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; margin-top: 56px; }

/* --- Page 404 --- */
.bv-404 h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.header-hero__content .bv-pagehead, .bv-pagehead { text-align: left; }
.header-hero__content h1.bv-pagehead__title, .hp-page__header h1.bv-pagehead__title { font-size: clamp(2.4rem, 5vw, 4rem); text-align: left; margin: 0 0 16px; }
.hp-page__header { background: transparent !important; }
.hp-page__header::after { bottom: auto; top: 16px; width: 220px; height: 220px; z-index: -1; }
body:has(.hp-page__header) .site-content, body:has(.bv-submit-hero) .site-content { padding-top: 0 !important; }
.hp-page__header, .bv-submit-hero { margin-top: 0; }
/* Fiche : fil d'Ariane + zone visuelle sans photo */
.bv-breadcrumb { font-size: .85rem; color: var(--bv-roche); margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.bv-breadcrumb a { color: var(--bv-roche); text-decoration: none; }
.bv-breadcrumb a:hover { color: var(--bv-altitude); text-decoration: underline; }
.bv-breadcrumb [aria-current] { color: var(--bv-carbone); font-weight: 600; }
.bv-gallery-placeholder { position: relative; aspect-ratio: 16 / 8; border-radius: var(--bv-radius); margin: 24px 0 8px; background: linear-gradient(160deg, var(--bv-glacier-clair), #CFE8F2); display: flex; align-items: flex-end; justify-content: flex-end; overflow: hidden; }
.bv-gallery-placeholder::before { content: ""; position: absolute; inset: 0; background: url("assets/img/bevwak-icone-512.png") no-repeat center / 120px; opacity: .2; }
.bv-gallery-placeholder span { position: relative; margin: 14px; background: rgba(255,255,255,.85); color: var(--bv-altitude); font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.single-hp_listing .site-content { padding-top: 40px; }
.elementor-template-full-width .site-content { padding-top: 0 !important; padding-bottom: 0 !important; }
@media (max-width: 640px) {
	.header-hero__content { padding: 44px 0 40px; }
	.hp-page__header { padding: 36px 0 28px; }
	.bv-submit-hero { padding: 44px 0 32px; }
	.page .site-content, .single-post .site-content { padding-top: 32px; padding-bottom: 56px; }
	.page__text { font-size: 1rem; line-height: 1.65; }
}

/* ===== Menu « Mon espace » (header) ===== */
.bv-account { position: relative; }
.bv-account__toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 8px 4px; min-height: 0; font: inherit; font-weight: 700; color: var(--bv-altitude); cursor: pointer; text-transform: none; letter-spacing: 0; }
.bv-account__hello { display: inline-flex; max-width: 190px; white-space: nowrap; }
.bv-account__name { overflow: hidden; text-overflow: ellipsis; margin-left: .3em; }
.bv-account__caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.bv-account__toggle[aria-expanded="true"] .bv-account__caret { transform: rotate(225deg) translateY(-2px); }
.bv-account__panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; background: #fff; border-radius: 12px; box-shadow: var(--bv-shadow-hover); border: 1px solid var(--bv-bordure); padding: 10px; z-index: 200; }
.bv-account__title { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bv-roche); margin: 6px 10px 8px; }
.bv-account-menu ul { list-style: none; margin: 0; padding: 0; }
.bv-account__panel .bv-account-menu a { display: flex; justify-content: space-between; align-items: center; padding: 10px; border-radius: 8px; color: var(--bv-carbone); font-weight: 600; text-decoration: none; }
.bv-account__panel .bv-account-menu a:hover, .bv-account__panel .bv-account-menu .hp-menu__item--current a { background: var(--bv-neige); color: var(--bv-altitude); }
.bv-account__panel .bv-account-menu li:last-child { border-top: 1px solid var(--bv-bordure); margin-top: 6px; padding-top: 6px; }
.bv-account__panel .bv-account-menu small, .bv-account-menu .hp-menu__item small { background: var(--bv-balise-texte); color: #fff; border-radius: 999px; font-size: .75rem; padding: 1px 8px; }
/* Onglets Mon espace en haut de « Mes réservations » */
.bv-account-tabs ul { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bv-account-tabs a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: var(--bv-shadow); color: var(--bv-carbone); font-weight: 600; text-decoration: none; }
.bv-account-tabs .hp-menu__item--current a, .bv-account-tabs a:hover { background: var(--bv-altitude); color: #fff; }
/* Header : pas de débordement avec un nom long */
@media (min-width: 1025px) and (max-width: 1320px) {
	.site-header .header-navbar__menu > ul { gap: 1.1rem; }
	.header-navbar__menu > ul > li > a { font-size: .92rem; }
	.header-navbar__actions { gap: 1rem; }
	.bv-account__hello { max-width: 140px; }
}
@media (max-width: 1024px) { .bv-account { display: none; } }
/* Bloc réservation : dates l'une sous l'autre, toujours dans leur cadre */
.bv-booking__dates { grid-template-columns: 1fr; }
.bv-booking__dates input { min-width: 0; max-width: 100%; box-sizing: border-box; }
/* Écrire à … */
.bv-contact { border-top: 1px solid var(--bv-bordure); padding-top: 10px; margin-top: 6px; }
.bv-contact summary { cursor: pointer; font-weight: 700; color: var(--bv-altitude); }
.bv-contact form { display: grid; gap: 8px; margin-top: 10px; }
.bv-contact textarea { width: 100%; display: block; margin-top: 4px; }
.bv-link { font-weight: 600; }
.hp-form__field .hp-field__description, .hp-form__field small.description { font-size: .85rem; color: var(--bv-roche); }
/* ===== Page Messages ===== */
.bv-empty-state { background: #fff; border-radius: var(--bv-radius); box-shadow: var(--bv-shadow); padding: 28px; max-width: 640px; }
.bv-threads { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.bv-thread a { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--bv-radius); box-shadow: var(--bv-shadow); padding: 14px 18px; text-decoration: none; color: var(--bv-carbone); }
.bv-thread a:hover { box-shadow: var(--bv-shadow-hover); }
.bv-thread__avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--bv-glacier); color: var(--bv-altitude); display: grid; place-items: center; font-weight: 700; }
.bv-thread__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bv-thread__name { font-weight: 700; }
.bv-thread__last { color: var(--bv-roche); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-thread__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: .85rem; color: var(--bv-roche); }
.bv-thread__badge { background: var(--bv-balise-texte); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: .75rem; font-weight: 700; }
.bv-thread--unread .bv-thread__last { color: var(--bv-carbone); font-weight: 600; }
@media (min-width: 1025px) {
	.site-header .header-navbar__burger { display: none; }
	.site-header .header-navbar__menu { margin-right: 0; }
	.site-header .header-navbar__end { gap: 1.5rem; }
	.site-header .header-navbar__menu > ul > li { padding: 0; }
}
/* Largeurs intermédiaires : menu burger dès 1180 px pour que tout tienne */
@media (min-width: 1025px) and (max-width: 1180px) {
	.site-header .header-navbar__menu, .site-header .bv-account { display: none !important; }
	.site-header .header-navbar__burger { display: block !important; }
}
.bv-account-tabs, .bv-account-tabs > ul, nav.bv-account-tabs { padding-left: 0 !important; margin-left: 0 !important; }
/* Recherche sans « Où partez-vous ? » : Matériel + Retrait + Retour */
.hp-form--listing-search .hp-form__fields { grid-template-columns: 1.6fr 1fr 1fr; }
.bv-home-search .hp-form__fields { grid-template-columns: 1fr 1fr; }
.bv-home-search .hp-form__field--search { grid-column: 1 / -1; border-right: 0; }
@media (max-width: 640px) { .hp-form--listing-search .hp-form__fields { grid-template-columns: 1fr 1fr; } .hp-form--listing-search .hp-form__field--search { grid-column: 1 / -1; } }
.hp-form--listing-search .hp-form__field--search { order: -1; }
/* Cartes catégories de l'accueil : photo de la catégorie */
.bv-cat-visual { position: relative; overflow: hidden; background: var(--bv-glacier-clair); }
.bv-cat-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
a:hover .bv-cat-visual img { transform: scale(1.05); }
.hp-page__header .hp-form--listing-search { margin-top: 0 !important; }
