:root {
  --navy: #0a3557;
  --navy-2: #123f63;
  --blue: #0a78c5;
  --blue-soft: #dff3ff;
  --green: #4c8d2f;
  --green-soft: #eaf4e4;
  --sand: #f6eee0;
  --sand-2: #ead4ad;
  --sun: #ffad20;
  --text: #17324a;
  --muted: #66788a;
  --line: #dfe7ed;
  --white: #ffffff;
  --bg: #f8fbfd;
  --danger: #d64a4a;
  --success: #26835a;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 18px 55px rgba(10, 53, 87, .09);
  --shadow-sm: 0 10px 30px rgba(10, 53, 87, .07);
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--navy); }
h1, h2 { font-family: "Playfair Display", Georgia, serif; }
h1 { font-size: clamp(2.65rem, 6vw, 5.25rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.2vw, 3.15rem); letter-spacing: -.025em; }
h3 { font-size: 1.15rem; }
p { margin: 0; }
.container { width: min(var(--max-width), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 70px 0 28px; }
.section-kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.section-kicker::before, .eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-kicker.light { color: #bfe8ff; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(10,53,87,.08);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 205px; height: 70px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 21px; font-size: .91rem; font-weight: 700; }
.main-nav > a { position: relative; color: #2f4c64; }
.main-nav > a:not(.nav-highlight):not(.nav-account)::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--blue); transition: .2s ease;
}
.main-nav > a:hover::after { width: 100%; }
.nav-highlight { padding: 12px 18px; border-radius: 999px; color: #fff !important; background: linear-gradient(135deg, var(--green), #73a84d); box-shadow: 0 8px 22px rgba(76,141,47,.24); }
.nav-account { padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang-switch { display: inline-flex; align-items: center; gap: 5px; color: #98a5b2; font-size: .82rem; }
.lang-switch a { color: #8a99a7; }
.lang-switch a.active { color: var(--navy); font-weight: 800; }
.nav-toggle { display: none; border: 0; background: var(--navy); color: #fff; border-radius: 12px; width: 45px; height: 45px; cursor: pointer; }

/* Hero */
.hero-home { position: relative; overflow: hidden; padding: 86px 0 150px; background: linear-gradient(135deg, #f4fbff 0%, #fffdf9 58%, #eef7e9 100%); }
.hero-home::before { content: ""; position: absolute; inset: auto -10% -130px -10%; height: 220px; background: var(--bg); border-radius: 50% 50% 0 0 / 45% 45% 0 0; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .7; }
.hero-glow-one { width: 340px; height: 340px; right: 2%; top: -100px; background: radial-gradient(circle, rgba(255,173,32,.28), transparent 68%); }
.hero-glow-two { width: 420px; height: 420px; left: -180px; bottom: -100px; background: radial-gradient(circle, rgba(10,120,197,.16), transparent 68%); }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; }
.hero-copy { max-width: 680px; }
.hero-copy h1 { margin-bottom: 22px; color: var(--navy); }
.hero-copy .lead { max-width: 650px; font-size: 1.1rem; color: #536b7e; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; color: #416078; font-size: .92rem; font-weight: 700; }
 .hero-visual { display: flex; justify-content: flex-end; }
.hero-showcase {
  width: min(100%, 520px); overflow: hidden; border-radius: 30px; background: #fff;
  border: 1px solid rgba(10,53,87,.09); box-shadow: 0 30px 80px rgba(10,53,87,.16);
}
.showcase-topline { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 12px; }
.showcase-badge { padding: 7px 11px; border-radius: 999px; background: var(--green-soft); color: #39702a; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.showcase-rating { color: #835a00; font-size: .85rem; font-weight: 800; }
.showcase-scene { position: relative; height: 255px; overflow: hidden; background: linear-gradient(180deg, #dff4ff 0%, #f8fcff 62%, #f4e1bb 63%, #e8c98b 100%); }
.scene-sun { position: absolute; width: 116px; height: 116px; right: 48px; top: 34px; border-radius: 50%; background: linear-gradient(145deg, #ffc64d, #ff8c1a); box-shadow: 0 0 0 18px rgba(255,176,32,.1); }
.scene-dune { position: absolute; left: -8%; width: 116%; border-radius: 50% 50% 0 0; }
.scene-dune-back { height: 110px; bottom: -38px; background: #ead5a7; transform: rotate(-2deg); }
.scene-dune-front { height: 82px; bottom: -34px; background: #d8b875; transform: rotate(2deg); }
.scene-home { position: absolute; left: 58px; bottom: 54px; width: 188px; height: 112px; border-radius: 5px; background: #fff9eb; border: 5px solid var(--navy); box-shadow: 0 14px 26px rgba(10,53,87,.12); z-index: 2; }
.scene-roof { position: absolute; left: -17px; top: -49px; width: 220px; height: 74px; background: var(--navy); clip-path: polygon(50% 0,100% 72%,92% 100%,50% 36%,8% 100%,0 72%); }
.scene-door { position: absolute; width: 38px; height: 66px; left: 74px; bottom: 0; background: #e09a2b; border: 4px solid var(--navy); }
.scene-window { position: absolute; width: 38px; height: 32px; top: 33px; background: #9fd7ef; border: 4px solid var(--navy); }
.scene-window-one { left: 20px; } .scene-window-two { right: 20px; }
.scene-caravan { position: absolute; right: 42px; bottom: 49px; width: 150px; height: 88px; border-radius: 28px 28px 15px 15px; background: #f7fbfd; border: 5px solid var(--navy); z-index: 3; }
.caravan-window { position: absolute; left: 22px; top: 19px; width: 52px; height: 28px; border-radius: 7px; background: #9fd7ef; border: 4px solid var(--navy); }
.caravan-door { position: absolute; right: 20px; top: 16px; width: 31px; height: 57px; background: #fff; border: 4px solid var(--navy); }
.caravan-wheel { position: absolute; bottom: -15px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); border: 5px solid #fff; }
.wheel-one { left: 28px; } .wheel-two { right: 25px; }
.showcase-content { padding: 20px; }
.showcase-label { color: var(--navy); font-weight: 800; }
.showcase-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.showcase-metrics div { padding: 12px 10px; border-radius: 14px; background: #f3f8fb; text-align: center; }
.showcase-metrics strong { display: block; color: var(--blue); font-size: 1.05rem; }
.showcase-metrics span { display: block; margin-top: 3px; color: var(--muted); font-size: .68rem; line-height: 1.25; }
.search-wrap { position: relative; z-index: 5; margin-top: 54px; }
.search-box-modern {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr .75fr auto; gap: 10px; align-items: end;
  padding: 15px; border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 24px 70px rgba(10,53,87,.16); border: 1px solid rgba(10,53,87,.08);
}
.search-box-modern label { display: flex; flex-direction: column; gap: 5px; padding: 0 12px; border-right: 1px solid var(--line); }
.search-box-modern label span { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #7c8d9b; }
.search-box-modern select, .search-box-modern input { border: 0; background: transparent; padding: 7px 0; min-height: 42px; color: var(--navy); font-weight: 700; outline: none; }
.btn-search { min-height: 58px; padding-inline: 24px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 22px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--navy)); box-shadow: 0 12px 28px rgba(10,78,125,.24); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.btn-outline { border: 1px solid var(--blue); color: var(--blue); background: transparent; }
.btn-large { padding: 16px 28px; }
.btn-block { width: 100%; }
.btn-small { padding: 8px 14px; font-size: .82rem; }
.btn-ok { background: var(--success); color: #fff; }
.btn-error { background: var(--danger); color: #fff; }

/* quick links */
.quick-links-section { position: relative; z-index: 7; margin-top: -92px; }
.quick-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.quick-link { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); transition: .2s ease; }
.quick-link:hover { transform: translateY(-4px); border-color: #b8d9ee; box-shadow: var(--shadow); }
.quick-link span { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 13px; background: var(--blue-soft); }
.quick-link strong { font-size: .88rem; color: var(--navy); }

/* section heads */
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.text-link { color: var(--blue); font-weight: 800; font-size: .92rem; white-space: nowrap; }

/* destinations */
.destinations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 60px; }
.destination-tile { min-height: 170px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-radius: 24px; color: #fff; box-shadow: var(--shadow-sm); }
.destination-tile::after { content: ""; position: absolute; width: 150px; height: 150px; right: -55px; bottom: -60px; border: 28px solid rgba(255,255,255,.11); border-radius: 50%; }
.destination-tile h3 { color: #fff; font-size: 1.35rem; margin-bottom: 5px; }
.destination-tile div span { font-size: .82rem; font-weight: 700; opacity: .9; }
.destination-number { font-size: .72rem; font-weight: 800; letter-spacing: .16em; opacity: .74; }
.destination-1 { background: linear-gradient(145deg, #0a78c5, #0a3557); }
.destination-2 { background: linear-gradient(145deg, #5f9e3c, #2f6f32); }
.destination-3 { background: linear-gradient(145deg, #f4a11b, #dc6e18); }
.destination-4 { background: linear-gradient(145deg, #40728e, #183d56); }

/* listings */
.featured-shell { background: #fff; padding-bottom: 75px; border-top: 1px solid #edf2f5; border-bottom: 1px solid #edf2f5; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: block; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); transition: .22s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card img { width: 100%; height: 220px; object-fit: cover; display: block; background: #edf3f6; }
.card-body { padding: 20px; }
.card-body h3 { margin-bottom: 8px; }
.listing-card-media { position: relative; }
.listing-location { position: absolute; left: 14px; bottom: 14px; padding: 7px 11px; border-radius: 999px; color: #fff; background: rgba(10,53,87,.83); backdrop-filter: blur(8px); font-size: .75rem; font-weight: 800; }
.listing-meta { display: flex; gap: 16px; margin-top: 13px; color: var(--muted); font-size: .84rem; }
.card-price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 15px; border-top: 1px solid #edf2f5; }
.price { color: var(--muted); font-size: .85rem; }
.price strong { color: var(--navy); font-size: 1.1rem; }
.card-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 900; }
.empty-state { grid-column: 1/-1; padding: 50px; text-align: center; border: 1px dashed #bfd0dc; border-radius: 22px; background: #f8fbfd; }
.empty-state p { margin-top: 8px; color: var(--muted); }

/* value */
.value-section { display: grid; grid-template-columns: 1.7fr .8fr; gap: 20px; padding-bottom: 80px; }
.value-card { border-radius: 28px; padding: 42px; }
.value-card-main { color: #fff; background: linear-gradient(135deg, var(--navy), #0a78c5); box-shadow: 0 24px 60px rgba(10,53,87,.2); }
.value-card-main h2 { color: #fff; max-width: 650px; }
.value-card-main p { max-width: 720px; margin: 18px 0 25px; color: #dceeff; }
.value-card-side { background: var(--green-soft); border: 1px solid #d7e7cf; }
.value-card-side h3 { margin: 18px 0 10px; font-size: 1.35rem; }
.value-card-side p { margin-bottom: 20px; color: #586c5c; }
.value-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: var(--green); color: #fff; font-weight: 900; font-size: 1.3rem; }

/* Generic pages/forms */
section.narrow { max-width: 780px; margin: 0 auto; }
.form-stack { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.form-stack label, .form-grid label, .filters-grid label { display: flex; flex-direction: column; gap: 7px; font-size: .82rem; font-weight: 800; color: var(--navy); }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], select, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); outline: none;
}
input:focus, select:focus, textarea:focus { border-color: #72b4df; box-shadow: 0 0 0 4px rgba(10,120,197,.10); }
.filters-form, .price-box, .request-box, .availability-card, .stat, details { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.filters-form { padding: 22px; margin-bottom: 22px; }
.filters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.filters-checks { border: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.filters-checks label { display: inline-flex; flex-direction: row; align-items: center; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.inline-form { display: inline-flex; gap: 8px; }
.results-count { color: var(--blue); font-weight: 800; }
.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 700; }
.alert-success { background: #e9f6ef; color: var(--success); }
.alert-error { background: #fdecec; color: var(--danger); }
.badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.badge-ok, .badge-verified { background: #e9f6ef; color: var(--success); }
.badge-warn { background: #fff3d8; color: #9a6900; }
.badge-error { background: #fdecec; color: var(--danger); }
.tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tag { padding: 5px 9px; border-radius: 999px; background: #eef5f9; font-size: .82rem; }
.card-static { padding: 24px; }
.card-destination .card-body { padding: 28px 20px; text-align: center; }

/* Listing detail */
.listing-header { margin-bottom: 22px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 28px; }
.gallery img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-thumbs img { width: 95px; height: 72px; object-fit: cover; border-radius: 10px; }
.listing-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 34px; }
.specs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.specs li { padding: 9px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.amenities { columns: 2; list-style: none; padding: 0; }
.amenities li { padding: 5px 0; }
.listing-sidebar { position: sticky; top: 105px; align-self: start; display: flex; flex-direction: column; gap: 18px; }
.price-box, .request-box, .availability-card { padding: 22px; }
.price-table, .pricing-table { width: 100%; border-collapse: collapse; }
.price-table td, .pricing-table td { padding: 10px 0; border-bottom: 1px solid #edf2f5; }
.price-table td:last-child, .pricing-table td:last-child { text-align: right; font-weight: 800; }
.availability-legend { display: flex; gap: 18px; flex-wrap: wrap; }
.legend-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.legend-dot.free { background: #5bc994; }
.legend-dot.busy { background: #ee7777; }
.avail-months { display: flex; gap: 18px; flex-wrap: wrap; }
.avail-month { flex: 1; min-width: 220px; }
.avail-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.avail-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 7px; background: #f3f6f8; font-size: .75rem; }
.avail-day.free { background: #dcf5e8; color: #1e744c; }
.avail-day.busy { background: #fde7e7; color: #b83f3f; text-decoration: line-through; }
.avail-day.empty { background: transparent; }

/* Dashboard */
.dashboard-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.stat { padding: 20px 24px; min-width: 150px; text-align: center; }
.stat strong { display: block; font-size: 1.8rem; color: var(--blue); }
.dashboard-actions, .filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-table th, .admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.admin-table th { background: #eef5f9; }
.filter-tabs a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.filter-tabs a.active { background: var(--navy); color: #fff; }
details { padding: 16px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 800; }
#coastMap { width: 100%; height: 520px; border-radius: 22px; box-shadow: var(--shadow); }

/* Footer */
.site-footer { margin-top: 60px; padding: 68px 0 22px; color: #cfe0ec; background: #082a45; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 50px; }
.footer-brand img { width: 220px; max-height: 95px; object-fit: contain; object-position: left; filter: drop-shadow(0 10px 24px rgba(0,0,0,.16)); }
.footer-brand p { max-width: 380px; margin-top: 18px; color: #a9c3d4; }
.site-footer h4 { color: #fff; margin-bottom: 16px; }
.site-footer a { display: block; margin: 9px 0; color: #b9cedb; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; color: #86a6b9; font-size: .82rem; }
.footer-bottom a { display: inline; margin: 0; }

@media (max-width: 1080px) {
  .main-nav { gap: 13px; font-size: .84rem; }
  .brand-logo { width: 170px; }
  .quick-links { grid-template-columns: repeat(3, 1fr); }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header-inner { min-height: 76px; }
  .brand-logo { width: 160px; height: 58px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 77px; padding: 20px; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 8px 4px; }
  .nav-highlight, .nav-account { text-align: center; }
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-trust { justify-content: center; }
  .hero-visual { justify-content: center; }
  .hero-showcase { max-width: 520px; margin-inline: auto; }
  .search-box-modern { grid-template-columns: repeat(2, 1fr); }
  .search-box-modern label { border-right: 0; }
  .btn-search { grid-column: 1/-1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .value-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-grid { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--max-width)); }
  .hero-home { padding: 56px 0 128px; }
  .hero-layout { gap: 30px; }
  .hero-copy h1 { font-size: 2.65rem; }
  .hero-copy .lead { font-size: 1rem; }
  .hero-showcase { width: 100%; }
  .showcase-scene { height: 220px; }
  .scene-home { left: 28px; transform: scale(.88); transform-origin: left bottom; }
  .scene-caravan { right: 20px; transform: scale(.86); transform-origin: right bottom; }
  .showcase-metrics { grid-template-columns: 1fr; }
  .search-wrap { margin-top: 34px; }
  .search-box-modern { grid-template-columns: 1fr; }
  .btn-search { grid-column: auto; }
  .quick-links { grid-template-columns: 1fr 1fr; }
  .quick-link { padding: 14px; }
  .section { padding-top: 52px; }
  .section-head-row { align-items: start; flex-direction: column; gap: 12px; }
  .destinations-grid, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .destination-tile { min-height: 150px; }
  .value-card { padding: 30px 24px; }
  .form-grid, .filters-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

/* =========================================================
   CARTE MAPLIBRE CAMPIMMO
   ========================================================= */

.map-modern-page {
    padding: 56px 0 80px;
    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(32, 163, 151, 0.12),
            transparent 32%
        ),
        linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
}

.map-modern-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 30px;
}

.map-modern-heading h1 {
    max-width: 760px;
    margin: 8px 0 12px;
    font-size: clamp(2.2rem, 5vw, 4.25rem);
    line-height: 1.02;
}

.map-modern-heading p {
    max-width: 700px;
    margin: 0;
    color: #5d6c76;
    font-size: 1.05rem;
}

.map-modern-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    min-height: 680px;
    overflow: hidden;
    border: 1px solid rgba(10, 53, 87, 0.1);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(10, 53, 87, 0.13);
}

.map-destination-panel {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 0;
    flex-direction: column;
    border-right: 1px solid rgba(10, 53, 87, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

.map-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid rgba(10, 53, 87, 0.08);
}

.map-panel-heading strong {
    color: #0a3557;
    font-size: 1.05rem;
}

.map-panel-heading span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #e9f7f5;
    color: #137c76;
    font-weight: 800;
}

.map-destination-list {
    overflow-y: auto;
    padding: 12px;
}

.map-destination-item {
    display: grid;
    width: 100%;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    margin: 0 0 7px;
    padding: 14px 12px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.map-destination-item:hover,
.map-destination-item.is-active {
    border-color: rgba(24, 147, 138, 0.25);
    background: #f0faf8;
    transform: translateX(3px);
}

.map-destination-pin {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    background: #edf3f6;
    color: #0a3557;
    font-weight: 900;
}

.map-destination-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.map-destination-copy strong {
    overflow: hidden;
    color: #17384e;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-destination-copy small {
    margin-top: 3px;
    color: #7a8992;
}

.map-destination-price {
    color: #0a3557;
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
}

.map-canvas-shell {
    position: relative;
    min-width: 0;
    min-height: 680px;
}

#coastMap {
    width: 100%;
    height: 100%;
    min-height: 680px;
}

.map-floating-note {
    position: absolute;
    z-index: 4;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border: 1px solid rgba(10, 53, 87, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 32px rgba(10, 53, 87, 0.13);
    color: #0a3557;
    font-size: 0.84rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.map-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #20a397;
    box-shadow: 0 0 0 5px rgba(32, 163, 151, 0.14);
}

.map-reset-button {
    position: absolute;
    z-index: 4;
    right: 20px;
    bottom: 20px;
    padding: 11px 16px;
    border: 1px solid rgba(10, 53, 87, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 32px rgba(10, 53, 87, 0.13);
    color: #0a3557;
    font-weight: 800;
    cursor: pointer;
}

.campimmo-price-marker {
    position: relative;
    min-width: 72px;
    padding: 9px 13px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #0a3557;
    box-shadow:
        0 7px 20px rgba(10, 53, 87, 0.25),
        0 0 0 1px rgba(10, 53, 87, 0.08);
    color: #ffffff;
    font-family: inherit;
    white-space: nowrap;
    cursor: pointer;
    transform: translateY(0);
    transition:
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.campimmo-price-marker::after {
    position: absolute;
    top: calc(100% - 3px);
    left: 50%;
    width: 12px;
    height: 12px;
    background: inherit;
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.campimmo-price-marker:hover,
.campimmo-price-marker.is-active {
    background: #15968e;
    box-shadow:
        0 10px 30px rgba(21, 150, 142, 0.34),
        0 0 0 5px rgba(255, 255, 255, 0.65);
    transform: translateY(-4px);
}

.campimmo-map-popup {
    min-width: 235px;
    padding: 5px 2px 2px;
}

.campimmo-map-popup-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: #15968e;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.campimmo-map-popup h3 {
    margin: 0 0 8px;
    color: #0a3557;
    font-size: 1.2rem;
}

.campimmo-map-popup p {
    margin: 5px 0;
    color: #65757f;
}

.campimmo-map-popup .popup-price {
    margin-bottom: 15px;
    color: #17384e;
}

.maplibregl-popup-content {
    padding: 18px !important;
    border-radius: 19px !important;
    box-shadow: 0 18px 60px rgba(10, 53, 87, 0.2) !important;
}

.maplibregl-ctrl-group {
    overflow: hidden;
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 9px 28px rgba(10, 53, 87, 0.14) !important;
}

@media (max-width: 900px) {
    .map-modern-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .map-modern-layout {
        grid-template-columns: 1fr;
    }

    .map-destination-panel {
        max-height: 310px;
        border-right: 0;
        border-bottom: 1px solid rgba(10, 53, 87, 0.1);
    }

    .map-canvas-shell,
    #coastMap {
        min-height: 590px;
    }
}

@media (max-width: 600px) {
    .map-modern-page {
        padding: 34px 0 55px;
    }

    .map-modern-layout {
        border-radius: 21px;
    }

    .map-destination-panel {
        max-height: 245px;
    }

    .map-canvas-shell,
    #coastMap {
        min-height: 520px;
    }

    .map-floating-note {
        right: 60px;
        left: 12px;
        border-radius: 15px;
        line-height: 1.3;
    }

    .map-reset-button {
        right: 12px;
        bottom: 12px;
    }
}

/* CAMPIMMO DESIGN SYSTEM V2 - START */

:root {
    --camp-navy: #0a3557;
    --camp-navy-dark: #06263f;
    --camp-blue: #147cad;
    --camp-sea: #28a9c7;
    --camp-green: #4f8f35;
    --camp-green-dark: #326c28;
    --camp-lime: #83a947;
    --camp-sand: #e8b764;
    --camp-orange: #e88b35;
    --camp-coral: #d9634f;
    --camp-cream: #fbf8f1;
    --camp-white: #ffffff;
    --camp-text: #17384e;
    --camp-muted: #6e7e89;
    --camp-border: rgba(10, 53, 87, 0.12);
    --camp-shadow: 0 16px 42px rgba(10, 53, 87, 0.12);
    --camp-shadow-hover: 0 22px 54px rgba(10, 53, 87, 0.2);
}

/* Base générale des boutons */

.btn,
button.btn,
a.btn,
.button,
.search-submit,
.search-button,
.form-submit,
.header-cta,
.nav-cta {
    position: relative;
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 21px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 13px;
    font-family: inherit;
    font-size: 0.91rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.btn:hover,
button.btn:hover,
a.btn:hover,
.button:hover,
.search-submit:hover,
.search-button:hover,
.form-submit:hover,
.header-cta:hover,
.nav-cta:hover {
    transform: translateY(-2px);
}

/* Bouton principal : vert nature */

.btn-primary,
.search-submit,
.search-button,
.form-submit,
.header-cta,
.nav-cta,
a[href*="publier"].btn,
a[href*="deposer"].btn {
    border-color: rgba(50, 108, 40, 0.25);
    background:
        linear-gradient(
            135deg,
            var(--camp-green) 0%,
            var(--camp-green-dark) 100%
        );
    box-shadow:
        0 10px 24px rgba(79, 143, 53, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.btn-primary:hover,
.search-submit:hover,
.search-button:hover,
.form-submit:hover,
.header-cta:hover,
.nav-cta:hover {
    background:
        linear-gradient(
            135deg,
            #5b9d3d 0%,
            #2d6424 100%
        );
    box-shadow:
        0 15px 32px rgba(79, 143, 53, 0.33),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

/* Bouton secondaire : bleu marine */

.btn-secondary,
.btn-dark,
.btn-navy {
    border-color: var(--camp-navy);
    background:
        linear-gradient(
            135deg,
            var(--camp-navy) 0%,
            var(--camp-navy-dark) 100%
        );
    box-shadow: 0 10px 24px rgba(10, 53, 87, 0.22);
    color: #ffffff;
}

.btn-secondary:hover,
.btn-dark:hover,
.btn-navy:hover {
    background:
        linear-gradient(
            135deg,
            #124b74 0%,
            var(--camp-navy) 100%
        );
    box-shadow: 0 15px 34px rgba(10, 53, 87, 0.3);
    color: #ffffff;
}

/* Bouton mer */

.btn-blue,
.btn-sea,
a[href*="carte"].btn {
    border-color: rgba(20, 124, 173, 0.22);
    background:
        linear-gradient(
            135deg,
            var(--camp-blue) 0%,
            var(--camp-sea) 100%
        );
    box-shadow: 0 10px 24px rgba(20, 124, 173, 0.23);
    color: #ffffff;
}

.btn-blue:hover,
.btn-sea:hover,
a[href*="carte"].btn:hover {
    box-shadow: 0 15px 34px rgba(20, 124, 173, 0.32);
    color: #ffffff;
}

/* Bouton promotion / vacances */

.btn-accent,
.btn-orange,
.btn-promo {
    border-color: rgba(232, 139, 53, 0.24);
    background:
        linear-gradient(
            135deg,
            var(--camp-sand) 0%,
            var(--camp-orange) 100%
        );
    box-shadow: 0 10px 24px rgba(232, 139, 53, 0.24);
    color: #352410;
}

.btn-accent:hover,
.btn-orange:hover,
.btn-promo:hover {
    box-shadow: 0 15px 34px rgba(232, 139, 53, 0.34);
    color: #241708;
}

/* Bouton contour */

.btn-outline,
.btn-ghost,
.header-account,
.owner-login-button,
a[href*="connexion"].btn {
    border-color: rgba(10, 53, 87, 0.18);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 7px 20px rgba(10, 53, 87, 0.07);
    color: var(--camp-navy);
    backdrop-filter: blur(10px);
}

.btn-outline:hover,
.btn-ghost:hover,
.header-account:hover,
.owner-login-button:hover,
a[href*="connexion"].btn:hover {
    border-color: rgba(10, 53, 87, 0.35);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(10, 53, 87, 0.14);
    color: var(--camp-navy);
}

/* Petits boutons */

.btn-small,
.btn-sm {
    min-height: 39px;
    padding: 9px 15px;
    border-radius: 11px;
    font-size: 0.8rem;
}

/* Évite l'aspect pilule partout */

.site-header .btn,
.main-nav .btn,
.header-actions .btn {
    border-radius: 14px;
}

.site-header a:not(.btn),
.main-nav a:not(.btn) {
    border-radius: 9px;
}

/* Cartes destinations */

.destination-card,
.dest-card,
.destination-item,
.destination-grid > a,
.destinations-grid > a {
    position: relative;
    isolation: isolate;
    min-height: 195px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(10, 53, 87, 0.13);
    color: #ffffff;
    transform: translateZ(0);
    transition:
        transform 0.26s ease,
        box-shadow 0.26s ease,
        border-color 0.26s ease;
}

.destination-card::before,
.dest-card::before,
.destination-item::before,
.destination-grid > a::before,
.destinations-grid > a::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        radial-gradient(
            circle at 92% 78%,
            rgba(255, 255, 255, 0.18) 0 20%,
            transparent 21% 100%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.1),
            transparent 55%
        );
    content: "";
}

.destination-card::after,
.dest-card::after,
.destination-item::after,
.destination-grid > a::after,
.destinations-grid > a::after {
    position: absolute;
    z-index: -1;
    right: -46px;
    bottom: -70px;
    width: 185px;
    height: 185px;
    border: 24px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
}

.destination-card:hover,
.dest-card:hover,
.destination-item:hover,
.destination-grid > a:hover,
.destinations-grid > a:hover {
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: var(--camp-shadow-hover);
    transform: translateY(-7px);
}

/* Palette variée des destinations */

.destination-grid > *:nth-child(6n + 1),
.destinations-grid > *:nth-child(6n + 1),
.destination-card:nth-child(6n + 1),
.dest-card:nth-child(6n + 1) {
    background:
        linear-gradient(
            135deg,
            #147cad 0%,
            #0a4f79 100%
        );
}

.destination-grid > *:nth-child(6n + 2),
.destinations-grid > *:nth-child(6n + 2),
.destination-card:nth-child(6n + 2),
.dest-card:nth-child(6n + 2) {
    background:
        linear-gradient(
            135deg,
            #659b4b 0%,
            #3f7335 100%
        );
}

.destination-grid > *:nth-child(6n + 3),
.destinations-grid > *:nth-child(6n + 3),
.destination-card:nth-child(6n + 3),
.dest-card:nth-child(6n + 3) {
    background:
        linear-gradient(
            135deg,
            #e0aa53 0%,
            #c97b32 100%
        );
}

.destination-grid > *:nth-child(6n + 4),
.destinations-grid > *:nth-child(6n + 4),
.destination-card:nth-child(6n + 4),
.dest-card:nth-child(6n + 4) {
    background:
        linear-gradient(
            135deg,
            #315f78 0%,
            #173c55 100%
        );
}

.destination-grid > *:nth-child(6n + 5),
.destinations-grid > *:nth-child(6n + 5),
.destination-card:nth-child(6n + 5),
.dest-card:nth-child(6n + 5) {
    background:
        linear-gradient(
            135deg,
            #28a9c7 0%,
            #147cad 100%
        );
}

.destination-grid > *:nth-child(6n + 6),
.destinations-grid > *:nth-child(6n + 6),
.destination-card:nth-child(6n + 6),
.dest-card:nth-child(6n + 6) {
    background:
        linear-gradient(
            135deg,
            #d9634f 0%,
            #ae4235 100%
        );
}

/* Texte des destinations plus lisible */

.destination-card h2,
.destination-card h3,
.dest-card h2,
.dest-card h3,
.destination-item h2,
.destination-item h3,
.destination-grid h2,
.destination-grid h3,
.destinations-grid h2,
.destinations-grid h3 {
    margin-bottom: 7px;
    color: #ffffff;
    font-size: clamp(1.22rem, 2vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.destination-card p,
.destination-card small,
.dest-card p,
.dest-card small,
.destination-item p,
.destination-item small,
.destination-grid p,
.destination-grid small,
.destinations-grid p,
.destinations-grid small {
    color: rgba(255, 255, 255, 0.8);
}

.destination-card .destination-number,
.dest-card .destination-number,
.destination-item .destination-number,
.destination-grid .destination-number,
.destinations-grid .destination-number {
    color: rgba(255, 255, 255, 0.66);
    font-weight: 800;
    letter-spacing: 0.13em;
}

/* Lien "Découvrir les logements" */

.destination-card .destination-link,
.dest-card .destination-link,
.destination-item .destination-link,
.destination-grid .destination-link,
.destinations-grid .destination-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.83rem;
    font-weight: 700;
}

.destination-card:hover .destination-link,
.dest-card:hover .destination-link,
.destination-item:hover .destination-link,
.destination-grid > a:hover .destination-link,
.destinations-grid > a:hover .destination-link {
    color: #ffffff;
}

/* Liens de section plus élégants */

.section-link,
.view-all-link,
a.all-destinations {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--camp-blue);
    font-weight: 800;
    text-decoration: none;
}

.section-link:hover,
.view-all-link:hover,
a.all-destinations:hover {
    color: var(--camp-navy);
}

/* Cartes logement */

.listing-card {
    overflow: hidden;
    border: 1px solid var(--camp-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--camp-shadow);
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease;
}

.listing-card:hover {
    box-shadow: var(--camp-shadow-hover);
    transform: translateY(-6px);
}

/* Barre de recherche */

.search-box,
.hero-search,
.search-panel {
    border: 1px solid rgba(10, 53, 87, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 50px rgba(10, 53, 87, 0.13);
}

.search-box input,
.search-box select,
.hero-search input,
.hero-search select,
.search-panel input,
.search-panel select {
    min-height: 50px;
    border: 1px solid rgba(10, 53, 87, 0.12);
    border-radius: 12px;
    background: #f9fbfc;
}

.search-box input:focus,
.search-box select:focus,
.hero-search input:focus,
.hero-search select:focus,
.search-panel input:focus,
.search-panel select:focus {
    border-color: var(--camp-sea);
    box-shadow: 0 0 0 4px rgba(40, 169, 199, 0.11);
    outline: none;
}

/* Mobile */

@media (max-width: 760px) {
    .btn,
    button.btn,
    a.btn,
    .button {
        min-height: 46px;
        padding: 11px 17px;
    }

    .destination-card,
    .dest-card,
    .destination-item,
    .destination-grid > a,
    .destinations-grid > a {
        min-height: 165px;
        border-radius: 20px;
    }
}

/* CAMPIMMO DESIGN SYSTEM V2 - END */

/* =========================================================
   SERVICES CAMPIMMO V3 - ESPACEMENTS ET EQUILIBRE
   ========================================================= */

.services-page-v3 {
    padding-top: clamp(72px, 8vw, 118px);
    padding-bottom: clamp(90px, 10vw, 150px);
    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(40, 169, 199, 0.08),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbfc 100%
        );
}

.services-page-v3 > .container,
.services-page-v3 .container {
    width: min(1180px, calc(100% - 48px));
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

/* Titre principal */

.services-page-v3 h1 {
    max-width: 1040px;
    margin: 0 0 22px;
    color: var(--camp-navy, #0a3557);
    font-size: clamp(3.1rem, 6.6vw, 6.4rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

/* Texte introductif */

.services-page-v3 h1 + p,
.services-page-v3 .section-intro,
.services-page-v3 .lead {
    max-width: 760px;
    margin: 0 0 clamp(46px, 5vw, 72px);
    color: var(--camp-muted, #6e7e89);
    font-size: clamp(1.02rem, 1.5vw, 1.22rem);
    line-height: 1.7;
}

/* Grille de services */

.services-page-v3 .services-grid,
.services-page-v3 .service-grid,
.services-page-v3 .grid,
.services-page-v3 .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
    margin-top: 0;
    margin-bottom: 52px;
}

/* Cartes */

.services-page-v3 .service-card,
.services-page-v3 .services-card,
.services-page-v3 .card {
    display: flex;
    min-height: 220px;
    flex-direction: column;
    justify-content: flex-start;
    padding: 31px 30px 32px;
    border: 1px solid rgba(10, 53, 87, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 14px 36px rgba(10, 53, 87, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.services-page-v3 .service-card:hover,
.services-page-v3 .services-card:hover,
.services-page-v3 .card:hover {
    border-color: rgba(40, 169, 199, 0.26);
    box-shadow:
        0 22px 52px rgba(10, 53, 87, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
}

/* Titres des cartes */

.services-page-v3 .service-card h2,
.services-page-v3 .service-card h3,
.services-page-v3 .services-card h2,
.services-page-v3 .services-card h3,
.services-page-v3 .card h2,
.services-page-v3 .card h3 {
    margin: 0 0 13px;
    color: var(--camp-navy, #0a3557);
    font-size: clamp(1.18rem, 1.8vw, 1.45rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

/* Textes des cartes */

.services-page-v3 .service-card p,
.services-page-v3 .services-card p,
.services-page-v3 .card p {
    margin: 0;
    color: #667885;
    font-size: 1rem;
    line-height: 1.72;
}

/* Legere variation de couleur */

.services-page-v3 .service-card:nth-child(4n + 1),
.services-page-v3 .services-card:nth-child(4n + 1),
.services-page-v3 .card:nth-child(4n + 1) {
    border-top: 4px solid #147cad;
}

.services-page-v3 .service-card:nth-child(4n + 2),
.services-page-v3 .services-card:nth-child(4n + 2),
.services-page-v3 .card:nth-child(4n + 2) {
    border-top: 4px solid #4f8f35;
}

.services-page-v3 .service-card:nth-child(4n + 3),
.services-page-v3 .services-card:nth-child(4n + 3),
.services-page-v3 .card:nth-child(4n + 3) {
    border-top: 4px solid #e0aa53;
}

.services-page-v3 .service-card:nth-child(4n + 4),
.services-page-v3 .services-card:nth-child(4n + 4),
.services-page-v3 .card:nth-child(4n + 4) {
    border-top: 4px solid #28a9c7;
}

/* Bouton sous les cartes */

.services-page-v3 .btn,
.services-page-v3 > .container > a.btn,
.services-page-v3 form + .btn {
    margin-top: 8px;
}

.services-page-v3 .btn-primary {
    min-width: 210px;
    min-height: 52px;
    padding-right: 25px;
    padding-left: 25px;
}

/* Evite qu'un bouton reste colle au bas de la fenetre */

.services-page-v3 .services-grid + .btn,
.services-page-v3 .service-grid + .btn,
.services-page-v3 .grid + .btn,
.services-page-v3 .cards-grid + .btn {
    margin-top: 4px;
    margin-bottom: 12px;
}

/* Tablette */

@media (max-width: 980px) {
    .services-page-v3 {
        padding-top: 72px;
        padding-bottom: 105px;
    }

    .services-page-v3 .services-grid,
    .services-page-v3 .service-grid,
    .services-page-v3 .grid,
    .services-page-v3 .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .services-page-v3 .service-card,
    .services-page-v3 .services-card,
    .services-page-v3 .card {
        min-height: 205px;
        padding: 27px 25px 29px;
    }
}

/* Mobile */

@media (max-width: 640px) {
    .services-page-v3 {
        padding-top: 48px;
        padding-bottom: 82px;
    }

    .services-page-v3 > .container,
    .services-page-v3 .container {
        width: min(100% - 30px, 1180px);
    }

    .services-page-v3 h1 {
        margin-bottom: 17px;
        font-size: clamp(2.65rem, 13vw, 4.2rem);
        line-height: 0.98;
    }

    .services-page-v3 h1 + p,
    .services-page-v3 .section-intro,
    .services-page-v3 .lead {
        margin-bottom: 37px;
        font-size: 1rem;
        line-height: 1.65;
    }

    .services-page-v3 .services-grid,
    .services-page-v3 .service-grid,
    .services-page-v3 .grid,
    .services-page-v3 .cards-grid {
        grid-template-columns: 1fr;
        gap: 17px;
        margin-bottom: 36px;
    }

    .services-page-v3 .service-card,
    .services-page-v3 .services-card,
    .services-page-v3 .card {
        min-height: auto;
        padding: 25px 22px 26px;
        border-radius: 20px;
    }

    .services-page-v3 .btn-primary {
        width: 100%;
    }
}


/* =========================================================
   RECHERCHE CAMPIMMO V4
   ========================================================= */

.search-page-v4 {
    min-height: calc(100vh - 150px);
    padding: clamp(44px, 5vw, 76px) 0 clamp(90px, 9vw, 130px);
    background:
        radial-gradient(
            circle at 90% 8%,
            rgba(40, 169, 199, 0.07),
            transparent 28%
        ),
        linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
}

.search-page-v4 > .container,
.search-page-v4 .container {
    width: min(1420px, calc(100% - 64px));
    max-width: 1420px;
    margin-right: auto;
    margin-left: auto;
}

/* Titre */

.search-page-v4 h1 {
    max-width: 900px;
    margin: 0 0 30px;
    color: var(--camp-navy, #0a3557);
    font-size: clamp(3rem, 5vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

/* Formulaire de recherche */

.search-page-v4 .search-box,
.search-page-v4 .search-panel,
.search-page-v4 .filters-panel,
.search-page-v4 form {
    margin-bottom: 34px;
    padding: 28px;
    border: 1px solid rgba(10, 53, 87, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(10, 53, 87, 0.09);
}

.search-page-v4 form > .grid,
.search-page-v4 .search-grid,
.search-page-v4 .filters-grid {
    display: grid;
    grid-template-columns:
        minmax(190px, 1.15fr)
        minmax(190px, 1.15fr)
        minmax(150px, 0.85fr)
        minmax(170px, 0.95fr);
    gap: 18px;
    align-items: end;
}

.search-page-v4 label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--camp-navy, #0a3557);
    font-size: 0.82rem;
    font-weight: 800;
}

.search-page-v4 input,
.search-page-v4 select {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid rgba(10, 53, 87, 0.13);
    border-radius: 13px;
    background: #fbfcfd;
    color: #17384e;
    font: inherit;
}

.search-page-v4 input:focus,
.search-page-v4 select:focus {
    border-color: #28a9c7;
    box-shadow: 0 0 0 4px rgba(40, 169, 199, 0.11);
    outline: none;
}

/* Filtres */

.search-page-v4 .filters,
.search-page-v4 .filter-options,
.search-page-v4 .checkbox-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 19px 0 21px;
}

.search-page-v4 .filters label,
.search-page-v4 .filter-options label,
.search-page-v4 .checkbox-filters label {
    display: inline-flex;
    min-height: 42px;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(10, 53, 87, 0.12);
    border-radius: 12px;
    background: #ffffff;
    color: #425d6e;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.search-page-v4 .filters input[type="checkbox"],
.search-page-v4 .filter-options input[type="checkbox"],
.search-page-v4 .checkbox-filters input[type="checkbox"] {
    width: 17px;
    min-height: auto;
    height: 17px;
    margin: 0;
}

/* Actions */

.search-page-v4 .form-actions,
.search-page-v4 .search-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
}

.search-page-v4 .form-actions .btn,
.search-page-v4 .search-actions .btn,
.search-page-v4 button[type="submit"] {
    min-width: 165px;
    min-height: 50px;
}

.search-page-v4 .reset-link,
.search-page-v4 a[href*="recherche.php"] {
    color: var(--camp-navy, #0a3557);
    font-weight: 800;
    text-decoration: none;
}

/* Résultats */

.search-page-v4 .results-header,
.search-page-v4 .search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 18px;
}

.search-page-v4 .results-header h2,
.search-page-v4 .search-results-header h2,
.search-page-v4 h2 {
    margin: 0;
    color: #147cad;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 800;
}

/* Grille des logements */

.search-page-v4 .listings-grid,
.search-page-v4 .results-grid,
.search-page-v4 .search-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
}

/* Cartes logement */

.search-page-v4 .listing-card {
    width: 100%;
    max-width: none;
    overflow: hidden;
    border: 1px solid rgba(10, 53, 87, 0.1);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(10, 53, 87, 0.09);
}

.search-page-v4 .listing-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.search-page-v4 .listing-card-body,
.search-page-v4 .listing-content,
.search-page-v4 .listing-card > div:last-child {
    padding: 22px;
}

.search-page-v4 .listing-card h2,
.search-page-v4 .listing-card h3 {
    margin: 0 0 8px;
    color: var(--camp-navy, #0a3557);
    font-size: 1.25rem;
    line-height: 1.25;
}

.search-page-v4 .listing-card p {
    margin: 0 0 10px;
    color: #71818c;
    line-height: 1.55;
}

/* Avec un seul résultat, éviter une carte gigantesque */

.search-page-v4 .listings-grid > :only-child,
.search-page-v4 .results-grid > :only-child,
.search-page-v4 .search-results > :only-child {
    max-width: 430px;
}

/* Éviter le footer trop proche */

.search-page-v4 .listings-grid,
.search-page-v4 .results-grid,
.search-page-v4 .search-results {
    margin-bottom: 60px;
}

/* Tablette */

@media (max-width: 1050px) {
    .search-page-v4 > .container,
    .search-page-v4 .container {
        width: min(100% - 40px, 1420px);
    }

    .search-page-v4 form > .grid,
    .search-page-v4 .search-grid,
    .search-page-v4 .filters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-page-v4 .listings-grid,
    .search-page-v4 .results-grid,
    .search-page-v4 .search-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media (max-width: 680px) {
    .search-page-v4 {
        padding-top: 36px;
        padding-bottom: 80px;
    }

    .search-page-v4 > .container,
    .search-page-v4 .container {
        width: min(100% - 28px, 1420px);
    }

    .search-page-v4 h1 {
        margin-bottom: 24px;
        font-size: clamp(2.65rem, 13vw, 4.2rem);
    }

    .search-page-v4 .search-box,
    .search-page-v4 .search-panel,
    .search-page-v4 .filters-panel,
    .search-page-v4 form {
        padding: 20px;
        border-radius: 19px;
    }

    .search-page-v4 form > .grid,
    .search-page-v4 .search-grid,
    .search-page-v4 .filters-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .search-page-v4 .filters,
    .search-page-v4 .filter-options,
    .search-page-v4 .checkbox-filters {
        gap: 8px;
    }

    .search-page-v4 .form-actions,
    .search-page-v4 .search-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .search-page-v4 .form-actions .btn,
    .search-page-v4 .search-actions .btn,
    .search-page-v4 button[type="submit"] {
        width: 100%;
    }

    .search-page-v4 .listings-grid,
    .search-page-v4 .results-grid,
    .search-page-v4 .search-results {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .search-page-v4 .listing-card img {
        height: 220px;
    }

    .search-page-v4 .listings-grid > :only-child,
    .search-page-v4 .results-grid > :only-child,
    .search-page-v4 .search-results > :only-child {
        max-width: none;
    }
}


/* =========================================================
   CORRECTIF RECHERCHE — CHECKBOXES ET PROPORTIONS
   ========================================================= */

.search-page-v4 h1 {
    max-width: 820px;
    margin-bottom: 26px;
    font-size: clamp(3rem, 4.7vw, 5.2rem);
}

/* Exclure les cases à cocher du style des champs classiques */

.search-page-v4 input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: transparent !important;
    box-shadow: none !important;
    accent-color: var(--camp-green, #4f8f35);
    flex: 0 0 18px;
}

/* Ligne de filtres */

.search-page-v4 .filters,
.search-page-v4 .filter-options,
.search-page-v4 .checkbox-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 10px 0 18px;
}

.search-page-v4 .filters label,
.search-page-v4 .filter-options label,
.search-page-v4 .checkbox-filters label {
    display: inline-flex !important;
    width: auto !important;
    min-height: 42px;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid rgba(10, 53, 87, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: #304e61;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
}

.search-page-v4 .filters label:hover,
.search-page-v4 .filter-options label:hover,
.search-page-v4 .checkbox-filters label:hover {
    border-color: rgba(79, 143, 53, 0.38);
    background: #f4faf1;
    transform: translateY(-1px);
}

.search-page-v4 .filters-title,
.search-page-v4 form > span,
.search-page-v4 form > p {
    margin-bottom: 7px;
}

/* Bloc recherche plus compact */

.search-page-v4 .search-box,
.search-page-v4 .search-panel,
.search-page-v4 .filters-panel,
.search-page-v4 form {
    padding: 24px 26px 25px;
    margin-bottom: 30px;
}

.search-page-v4 .form-actions,
.search-page-v4 .search-actions {
    margin-top: 2px;
}

/* Résultat légèrement mieux proportionné */

.search-page-v4 .listings-grid > :only-child,
.search-page-v4 .results-grid > :only-child,
.search-page-v4 .search-results > :only-child {
    max-width: 370px;
}

.search-page-v4 .listing-card img {
    height: 200px;
}

.search-page-v4 .listing-card-body,
.search-page-v4 .listing-content,
.search-page-v4 .listing-card > div:last-child {
    padding: 18px;
}

@media (max-width: 680px) {
    .search-page-v4 h1 {
        font-size: clamp(2.55rem, 12vw, 4rem);
    }

    .search-page-v4 .filters label,
    .search-page-v4 .filter-options label,
    .search-page-v4 .checkbox-filters label {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    .search-page-v4 .listings-grid > :only-child,
    .search-page-v4 .results-grid > :only-child,
    .search-page-v4 .search-results > :only-child {
        max-width: none;
    }
}


.search-page-v4 .filters-checks {
    margin-bottom: 24px;
}

.search-page-v4 .search-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

@media (max-width: 680px) {
    .search-page-v4 .search-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .search-page-v4 .search-actions .btn {
        width: 100%;
    }
}


/* =========================================================
   CAMPIMMO BOOKING V1
   ========================================================= */

.booking-search-heading {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.booking-search-heading h1 {
    margin-bottom: 14px;
}

.booking-search-heading p {
    max-width: 720px;
    margin: 0;
    color: #6e7e89;
    font-size: 1.03rem;
    line-height: 1.65;
}

.booking-search-form {
    margin-bottom: 32px;
}

.booking-primary-filters {
    grid-template-columns:
        minmax(220px, 1.3fr)
        minmax(165px, 0.9fr)
        minmax(165px, 0.9fr)
        minmax(130px, 0.7fr) !important;
}

.advanced-search {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(10, 53, 87, 0.1);
}

.advanced-search summary {
    width: fit-content;
    color: #0a3557;
    font-weight: 800;
    cursor: pointer;
}

.advanced-search[open] summary {
    margin-bottom: 20px;
}

.booking-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 34px 0 20px;
    color: #647783;
}

.booking-results-header strong {
    color: #0a3557;
    font-size: 1.35rem;
}

.booking-listing-card {
    color: inherit;
    text-decoration: none;
}

.booking-listing-photo {
    position: relative;
    overflow: hidden;
}

.booking-listing-photo img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.booking-listing-card:hover .booking-listing-photo img {
    transform: scale(1.035);
}

.instant-book-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 18px rgba(10, 53, 87, 0.16);
    color: #0a3557;
    font-size: 0.72rem;
    font-weight: 800;
}

.booking-location,
.booking-capacity {
    color: #71818c;
    font-size: 0.88rem;
}

.booking-listing-card h3 {
    margin: 7px 0 9px;
    color: #0a3557;
}

.booking-card-footer {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 16px;
}

.booking-card-footer strong {
    color: #0a3557;
    font-size: 1.08rem;
}

.booking-card-footer span {
    color: #71818c;
}

.booking-empty-state {
    grid-column: 1 / -1;
    padding: 52px 30px;
    border: 1px dashed rgba(10, 53, 87, 0.2);
    border-radius: 22px;
    background: #ffffff;
    text-align: center;
}

.status-badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
}

.status-new {
    background: #e9f3ff;
    color: #17679c;
}

.status-contacted {
    background: #fff5dc;
    color: #966819;
}

.status-confirmed {
    background: #e6f6e8;
    color: #377431;
}

.status-declined,
.status-cancelled {
    background: #fdeaea;
    color: #a54141;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 920px) {
    .booking-primary-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .booking-primary-filters {
        grid-template-columns: 1fr !important;
    }

    .booking-results-header {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   CAMPIMMO COAST EXPLORER V2
   ========================================================= */

.coast-explorer {
    padding: 64px 0 110px;
    background:
        radial-gradient(
            circle at 95% 2%,
            rgba(40, 169, 199, 0.13),
            transparent 28%
        ),
        linear-gradient(180deg, #fbfdfe 0%, #ffffff 48%, #f7fafb 100%);
}

.coast-explorer-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 38px;
}

.coast-eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: #15968e;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.coast-explorer-intro h1 {
    max-width: 850px;
    margin: 0 0 16px;
    color: #0a3557;
    font-size: clamp(3rem, 6vw, 6.2rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.coast-explorer-intro p {
    max-width: 720px;
    margin: 0;
    color: #6b7d89;
    font-size: 1.08rem;
    line-height: 1.65;
}

.coast-result-orbit {
    display: grid;
    width: 138px;
    height: 138px;
    flex: 0 0 138px;
    place-content: center;
    border: 1px solid rgba(20, 124, 173, 0.16);
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 35% 30%,
            #ffffff,
            #e9f7fa
        );
    box-shadow: 0 18px 46px rgba(10, 53, 87, 0.12);
    text-align: center;
}

.coast-result-orbit strong {
    color: #0a3557;
    font-size: 2.4rem;
    line-height: 1;
}

.coast-result-orbit span {
    margin-top: 6px;
    color: #67808f;
    font-size: 0.76rem;
    font-weight: 700;
}

.coast-station-line {
    overflow-x: auto;
    margin-bottom: 25px;
    padding-bottom: 7px;
}

.coast-line-track {
    position: relative;
    display: flex;
    min-width: max-content;
    align-items: center;
    gap: 9px;
    padding: 8px 4px;
}

.coast-line-track::before {
    position: absolute;
    z-index: 0;
    top: 20px;
    right: 10px;
    left: 10px;
    height: 2px;
    background: linear-gradient(
        90deg,
        #d6e8ee,
        #94ced9,
        #d6e8ee
    );
    content: "";
}

.coast-station {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 104px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 2px 9px;
    color: #67808f;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}

.coast-station-dot {
    width: 18px;
    height: 18px;
    border: 5px solid #ffffff;
    border-radius: 50%;
    background: #7dbfca;
    box-shadow: 0 0 0 1px rgba(10, 53, 87, 0.12);
    transition:
        transform 0.18s ease,
        background 0.18s ease;
}

.coast-station:hover .coast-station-dot,
.coast-station.is-active .coast-station-dot {
    background: #e88b35;
    transform: scale(1.25);
}

.coast-station.is-active {
    color: #0a3557;
}

.coast-search-console {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid rgba(10, 53, 87, 0.1);
    border-radius: 27px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 65px rgba(10, 53, 87, 0.11);
}

.coast-search-primary {
    display: grid;
    grid-template-columns:
        minmax(210px, 1.3fr)
        minmax(155px, 0.85fr)
        minmax(155px, 0.85fr)
        minmax(125px, 0.65fr)
        auto;
    gap: 12px;
    align-items: end;
}

.coast-search-primary label,
.coast-secondary-fields label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #0a3557;
    font-size: 0.77rem;
    font-weight: 800;
}

.coast-search-primary input,
.coast-search-primary select,
.coast-secondary-fields input,
.coast-secondary-fields select {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid rgba(10, 53, 87, 0.12);
    border-radius: 14px;
    background: #f9fbfc;
    color: #17384e;
    font: inherit;
    outline: none;
}

.coast-search-primary input:focus,
.coast-search-primary select:focus,
.coast-secondary-fields input:focus,
.coast-secondary-fields select:focus {
    border-color: #28a9c7;
    box-shadow: 0 0 0 4px rgba(40, 169, 199, 0.11);
}

.coast-search-submit {
    display: inline-flex;
    min-width: 144px;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    padding: 0 17px 0 20px;
    border: 0;
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            #4f8f35,
            #326c28
        );
    box-shadow: 0 12px 27px rgba(79, 143, 53, 0.27);
    color: #ffffff;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
}

.coast-search-submit strong {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
}

.coast-filter-drawer {
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid rgba(10, 53, 87, 0.09);
}

.coast-filter-drawer summary {
    display: flex;
    width: fit-content;
    flex-direction: column;
    cursor: pointer;
}

.coast-filter-drawer summary span {
    color: #0a3557;
    font-weight: 800;
}

.coast-filter-drawer summary small {
    margin-top: 2px;
    color: #7a8d98;
}

.coast-filter-content {
    padding-top: 22px;
}

.coast-secondary-fields {
    display: grid;
    max-width: 630px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.coast-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 19px 0;
}

.coast-filter-chips label {
    cursor: pointer;
}

.coast-filter-chips input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.coast-filter-chips span {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 9px 14px;
    border: 1px solid rgba(10, 53, 87, 0.12);
    border-radius: 13px;
    background: #ffffff;
    color: #476171;
    font-size: 0.84rem;
    font-weight: 700;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.coast-filter-chips input:checked + span {
    border-color: #4f8f35;
    background: #edf7e9;
    color: #326c28;
    transform: translateY(-1px);
}

.coast-filter-actions {
    display: flex;
    gap: 12px;
}

.coast-view-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.coast-view-controls > div {
    display: flex;
    flex-direction: column;
}

.coast-view-controls strong {
    color: #0a3557;
}

.coast-view-controls span {
    margin-top: 3px;
    color: #718590;
    font-size: 0.85rem;
}

.coast-map-toggle {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 10px;
    padding: 10px 17px;
    border: 1px solid rgba(20, 124, 173, 0.2);
    border-radius: 14px;
    background: #eef8fa;
    color: #0a5578;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
}

.coast-map-toggle-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    background: #ffffff;
}

.coast-map-stage {
    display: none;
    overflow: hidden;
    margin-bottom: 38px;
    border: 1px solid rgba(10, 53, 87, 0.11);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 22px 65px rgba(10, 53, 87, 0.14);
}

.coast-map-stage.is-open {
    display: block;
    animation: coastMapReveal 0.35s ease both;
}

@keyframes coastMapReveal {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coast-map-header {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(10, 53, 87, 0.09);
}

.coast-map-header div {
    display: flex;
    flex-direction: column;
}

.coast-map-header span {
    color: #15968e;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coast-map-header strong {
    margin-top: 3px;
    color: #0a3557;
}

.coast-map-header button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(10, 53, 87, 0.11);
    border-radius: 12px;
    background: #ffffff;
    color: #0a3557;
    font-size: 1.4rem;
    cursor: pointer;
}

#coastResultsMap {
    width: 100%;
    height: 580px;
}

.coast-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 27px;
}

.coast-stay-card {
    overflow: hidden;
    border: 1px solid rgba(10, 53, 87, 0.1);
    border-radius: 25px;
    background: #ffffff;
    box-shadow: 0 15px 42px rgba(10, 53, 87, 0.09);
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease;
}

.coast-stay-card:hover,
.coast-stay-card.is-map-highlighted {
    border-color: rgba(40, 169, 199, 0.35);
    box-shadow: 0 25px 60px rgba(10, 53, 87, 0.16);
    transform: translateY(-6px);
}

.coast-stay-photo {
    position: relative;
    display: block;
    height: 250px;
    overflow: hidden;
}

.coast-stay-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.coast-stay-card:hover .coast-stay-photo img {
    transform: scale(1.045);
}

.coast-type-badge,
.coast-featured-badge {
    position: absolute;
    top: 14px;
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 800;
}

.coast-type-badge {
    left: 14px;
    background: rgba(255, 255, 255, 0.93);
    color: #0a3557;
}

.coast-featured-badge {
    right: 14px;
    background: rgba(232, 139, 53, 0.94);
    color: #ffffff;
}

.coast-stay-body {
    padding: 21px;
}

.coast-stay-place {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #147cad;
    font-size: 0.79rem;
    font-weight: 800;
}

.coast-stay-place small {
    color: #728691;
    font-weight: 700;
}

.coast-stay-body h2 {
    margin: 8px 0 9px;
    font-size: 1.24rem;
    line-height: 1.25;
}

.coast-stay-body h2 a {
    color: #0a3557;
    text-decoration: none;
}

.coast-stay-specs {
    margin: 0;
    color: #71838f;
    font-size: 0.87rem;
}

.coast-stay-amenities {
    display: flex;
    min-height: 31px;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}

.coast-stay-amenities span {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 9px;
    background: #f2f7f8;
    color: #506a79;
    font-size: 0.73rem;
    font-weight: 700;
}

.coast-stay-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid rgba(10, 53, 87, 0.08);
}

.coast-booking-mode {
    max-width: 145px;
    color: #71838f;
    font-size: 0.72rem;
    font-weight: 700;
}

.coast-booking-mode .is-instant {
    color: #4f8f35;
}

.coast-booking-mode .is-request {
    color: #e88b35;
}

.coast-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.coast-price strong {
    color: #0a3557;
    font-size: 1.15rem;
}

.coast-price span {
    margin-top: 2px;
    color: #71838f;
    font-size: 0.71rem;
}

.coast-empty {
    max-width: 650px;
    margin: 30px auto;
    padding: 60px 30px;
    border: 1px dashed rgba(10, 53, 87, 0.2);
    border-radius: 26px;
    background: #ffffff;
    text-align: center;
}

.coast-empty > span {
    font-size: 2.7rem;
}

.coast-empty h2 {
    margin: 14px 0 8px;
    color: #0a3557;
}

.coast-empty p {
    margin-bottom: 24px;
    color: #71838f;
}

.coast-map-price {
    position: relative;
    min-width: 68px;
    padding: 9px 12px;
    border: 2px solid #ffffff;
    border-radius: 12px 12px 12px 3px;
    background: #0a3557;
    box-shadow: 0 9px 24px rgba(10, 53, 87, 0.25);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        background 0.18s ease;
}

.coast-map-price:hover,
.coast-map-price.is-active {
    background: #15968e;
    transform: translateY(-4px);
}

.coast-map-popup {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 13px;
    width: 280px;
}

.coast-map-popup img {
    width: 105px;
    height: 105px;
    border-radius: 13px;
    object-fit: cover;
}

.coast-map-popup div {
    display: flex;
    flex-direction: column;
}

.coast-map-popup span {
    color: #71838f;
    font-size: 0.69rem;
}

.coast-map-popup h3 {
    margin: 5px 0 8px;
    color: #0a3557;
    font-size: 1rem;
    line-height: 1.2;
}

.coast-map-popup strong {
    color: #15968e;
}

.coast-map-popup a {
    margin-top: auto;
    color: #147cad;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1080px) {
    .coast-search-primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .coast-search-submit {
        grid-column: span 2;
        justify-content: center;
    }

    .coast-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .coast-explorer {
        padding-top: 42px;
        padding-bottom: 80px;
    }

    .coast-explorer-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .coast-explorer-intro h1 {
        font-size: clamp(2.8rem, 13vw, 4.6rem);
    }

    .coast-result-orbit {
        display: none;
    }

    .coast-search-console {
        padding: 16px;
        border-radius: 21px;
    }

    .coast-search-primary,
    .coast-secondary-fields {
        grid-template-columns: 1fr;
    }

    .coast-search-submit {
        grid-column: auto;
    }

    .coast-view-controls {
        align-items: flex-start;
        flex-direction: column;
    }

    .coast-map-toggle {
        width: 100%;
        justify-content: center;
    }

    #coastResultsMap {
        height: 520px;
    }

    .coast-card-grid {
        grid-template-columns: 1fr;
    }

    .coast-stay-photo {
        height: 235px;
    }

    .coast-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .coast-filter-actions .btn {
        width: 100%;
    }
}


/* =========================================================
   CAMPIMMO RÉCAPITULATIF TARIFAIRE V3
   ========================================================= */

.booking-quote-panel {
    margin: 22px 0 18px;
    overflow: hidden;
    border: 1px solid rgba(10, 53, 87, 0.11);
    border-radius: 20px;
    background: #f8fbfc;
}

.booking-quote-placeholder,
.booking-quote-loading {
    display: flex;
    min-height: 112px;
    align-items: center;
    gap: 13px;
    padding: 20px;
    color: #647a87;
}

.booking-quote-placeholder > span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 12px;
    background: #e7f3f6;
    color: #147cad;
    font-size: 1.15rem;
    font-weight: 800;
}

.booking-quote-placeholder p,
.booking-quote-loading p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
}

.booking-quote-loading {
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.booking-loader {
    width: 31px;
    height: 31px;
    border: 3px solid rgba(20, 124, 173, 0.16);
    border-top-color: #147cad;
    border-radius: 50%;
    animation: bookingLoaderSpin 0.8s linear infinite;
}

@keyframes bookingLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

.booking-quote-success {
    background: #ffffff;
}

.booking-availability {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 18px;
    border-bottom: 1px solid rgba(10, 53, 87, 0.08);
    background: linear-gradient(
        135deg,
        #edf8eb,
        #f7fcf5
    );
}

.booking-availability-dot {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 50%;
    background: #4f8f35;
    box-shadow: 0 0 0 6px rgba(79, 143, 53, 0.13);
}

.booking-availability div {
    display: flex;
    flex-direction: column;
}

.booking-availability strong {
    color: #326c28;
    font-size: 0.9rem;
}

.booking-availability small {
    margin-top: 3px;
    color: #66815f;
    font-size: 0.74rem;
}

.booking-quote-lines {
    display: flex;
    flex-direction: column;
    padding: 16px 18px 8px;
}

.booking-quote-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0;
    color: #506a79;
    font-size: 0.86rem;
}

.booking-quote-line > span {
    display: flex;
    flex-direction: column;
}

.booking-quote-line small {
    margin-top: 2px;
    color: #8a9aa3;
    font-size: 0.69rem;
}

.booking-quote-line strong {
    color: #17384e;
    font-size: 0.87rem;
    white-space: nowrap;
}

.booking-quote-total,
.booking-deposit-note {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin: 10px 18px 0;
    padding: 17px 0;
    border-top: 1px solid rgba(10, 53, 87, 0.12);
}

.booking-quote-total > span,
.booking-deposit-note > span {
    color: #0a3557;
    font-weight: 800;
}

.booking-quote-total > div,
.booking-deposit-note > div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.booking-quote-total strong {
    color: #0a3557;
    font-size: 1.35rem;
}

.booking-quote-total small,
.booking-deposit-note small {
    max-width: 190px;
    margin-top: 3px;
    color: #7a8d98;
    font-size: 0.67rem;
    line-height: 1.35;
}

.booking-deposit-note {
    margin-top: 0;
    padding-bottom: 18px;
    border-top-style: dashed;
}

.booking-deposit-note strong {
    color: #e88b35;
}

.booking-quote-error {
    display: flex;
    min-height: 105px;
    align-items: center;
    gap: 13px;
    padding: 19px;
    background: #fff6f4;
}

.booking-quote-error > span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 12px;
    background: #fde1dc;
    color: #bd493a;
    font-weight: 900;
}

.booking-quote-error strong {
    color: #a73e32;
    font-size: 0.88rem;
}

.booking-quote-error p {
    margin: 4px 0 0;
    color: #8c5b54;
    font-size: 0.8rem;
    line-height: 1.45;
}

#bookingSubmitButton:disabled,
#bookingSubmitButton.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.25);
    transform: none;
}

@media (max-width: 620px) {
    .booking-quote-total,
    .booking-deposit-note {
        gap: 12px;
    }

    .booking-quote-total strong {
        font-size: 1.22rem;
    }
}


/* =========================================================
   SÉLECTION DIRECTE DES DATES DANS LE CALENDRIER
   ========================================================= */

.calendar-select-help {
    margin-top: 6px;
    color: #6f8290;
    font-size: 0.82rem;
    font-weight: 600;
}

.avail-day.free[data-date] {
    cursor: pointer;
    transition:
        transform 0.16s ease,
        background 0.16s ease,
        color 0.16s ease,
        box-shadow 0.16s ease;
}

.avail-day.free[data-date]:hover,
.avail-day.free[data-date]:focus-visible {
    background: #d4f1ea;
    color: #175f54;
    box-shadow: 0 0 0 3px rgba(21, 150, 142, 0.13);
    outline: none;
    transform: translateY(-2px);
}

.avail-day.is-selectable-end {
    box-shadow: inset 0 0 0 1px rgba(20, 124, 173, 0.2);
}

.avail-day.is-start,
.avail-day.is-end {
    position: relative;
    z-index: 2;
    background: #0a3557 !important;
    color: #ffffff !important;
    box-shadow:
        0 8px 18px rgba(10, 53, 87, 0.22),
        0 0 0 3px rgba(255, 255, 255, 0.9);
    font-weight: 800;
    transform: scale(1.04);
}

.avail-day.is-in-range {
    background: #cceff0 !important;
    color: #0a5578 !important;
    box-shadow: inset 0 0 0 1px rgba(20, 124, 173, 0.12);
}

.avail-day.busy {
    cursor: not-allowed;
}

@media (max-width: 700px) {
    .calendar-select-help {
        font-size: 0.78rem;
    }

    .avail-day.is-start,
    .avail-day.is-end {
        transform: none;
    }
}


/* =========================================================
   FICHE LOGEMENT CAMPIMMO V4
   ========================================================= */

.listing-v4-page {
    width: min(1460px, calc(100% - 58px));
    max-width: 1460px;
    padding-top: 38px;
    padding-bottom: 120px;
}

.listing-v4-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 25px;
    color: #7b8c97;
    font-size: 0.78rem;
    font-weight: 700;
}

.listing-v4-breadcrumb a {
    color: #4e7186;
    text-decoration: none;
}

.listing-v4-breadcrumb strong {
    color: #0a3557;
}

.listing-v4-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 30px;
}

.listing-v4-heading {
    max-width: 980px;
}

.listing-v4-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.listing-v4-kicker > span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 6px 11px;
    border-radius: 10px;
    background: #edf7f8;
    color: #147cad;
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.listing-v4-kicker .listing-v4-verified {
    background: #edf8ea;
    color: #417934;
}

.listing-v4-header h1 {
    margin: 0 0 14px;
    color: #0a3557;
    font-size: clamp(2.7rem, 5.5vw, 5.7rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.listing-v4-location {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #687c89;
    font-size: 0.9rem;
    font-weight: 600;
}

.listing-v4-header-actions {
    display: flex;
    gap: 9px;
    padding-bottom: 5px;
}

.listing-v4-action {
    min-height: 43px;
    padding: 9px 14px;
    border: 1px solid rgba(10, 53, 87, 0.14);
    border-radius: 12px;
    background: #ffffff;
    color: #0a3557;
    font-family: inherit;
    font-size: 0.79rem;
    font-weight: 800;
    cursor: pointer;
}

.listing-v4-action:hover,
.listing-v4-action.is-active {
    border-color: rgba(21, 150, 142, 0.35);
    background: #eff9f7;
    color: #137c76;
}

.listing-v4-gallery {
    position: relative;
    display: grid;
    height: clamp(420px, 47vw, 610px);
    grid-template-columns: 1.65fr 1fr;
    gap: 8px;
    overflow: hidden;
    margin-bottom: 46px;
    border-radius: 28px;
    background: #e9f0f3;
}

.listing-v4-gallery button {
    padding: 0;
    border: 0;
    cursor: pointer;
}

.listing-v4-gallery-main {
    min-width: 0;
    overflow: hidden;
}

.listing-v4-gallery-main img,
.listing-v4-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.listing-v4-gallery-main:hover img,
.listing-v4-gallery-thumb:hover img {
    transform: scale(1.025);
}

.listing-v4-gallery-side {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.listing-v4-gallery-thumb {
    overflow: hidden;
    background: #dfe9ed;
}

.listing-v4-gallery-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(40, 169, 199, 0.25),
            transparent 34%
        ),
        linear-gradient(145deg, #e8f3f5, #cfe2e7);
    color: rgba(10, 53, 87, 0.32);
    font-weight: 800;
}

.listing-v4-gallery-all {
    position: absolute;
    right: 18px;
    bottom: 18px;
    min-height: 42px;
    padding: 9px 14px !important;
    border: 1px solid rgba(10, 53, 87, 0.14) !important;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 10px 26px rgba(10, 53, 87, 0.15);
    color: #0a3557;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.listing-v4-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 430px);
    gap: clamp(48px, 6vw, 86px);
    align-items: start;
}

.listing-v4-content {
    min-width: 0;
}

.listing-v4-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(105px, 1fr));
    gap: 12px;
    padding-bottom: 38px;
    border-bottom: 1px solid rgba(10, 53, 87, 0.1);
}

.listing-v4-summary > div {
    display: flex;
    min-height: 88px;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    border: 1px solid rgba(10, 53, 87, 0.09);
    border-radius: 16px;
    background: #f8fbfc;
}

.listing-v4-summary span {
    color: #7b8d98;
    font-size: 0.7rem;
    font-weight: 700;
}

.listing-v4-summary strong {
    margin-top: 5px;
    color: #0a3557;
    font-size: 0.92rem;
}

.listing-v4-section {
    padding: 48px 0;
    border-bottom: 1px solid rgba(10, 53, 87, 0.1);
}

.listing-v4-section-heading {
    margin-bottom: 24px;
}

.listing-v4-section-heading > span,
.listing-v4-section-heading > div > span {
    color: #15968e;
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.listing-v4-section-heading h2 {
    margin: 7px 0 0;
    color: #0a3557;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.listing-v4-description {
    max-width: 850px;
    color: #526b7a;
    font-size: 1.02rem;
    line-height: 1.85;
}

.listing-v4-amenities {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.listing-v4-amenity {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid rgba(10, 53, 87, 0.1);
    border-radius: 16px;
    background: #ffffff;
}

.listing-v4-amenity > span {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    place-items: center;
    border-radius: 12px;
    background: #edf6f7;
    font-size: 1.08rem;
}

.listing-v4-amenity strong {
    color: #294d63;
    font-size: 0.86rem;
}

.listing-v4-calendar-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.listing-v4-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.listing-v4-calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #71848f;
    font-size: 0.74rem;
    font-weight: 700;
}

.listing-v4-calendar-legend i {
    width: 11px;
    height: 11px;
    border-radius: 4px;
}

.listing-v4-calendar-legend .is-free {
    background: #cfeee8;
}

.listing-v4-calendar-legend .is-busy {
    background: #f0c4c0;
}

.listing-v4-calendar-help {
    margin: -9px 0 24px;
    color: #71848f;
    font-size: 0.84rem;
}

.listing-v4-calendar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.listing-v4-calendar .avail-month {
    padding: 20px;
    border: 1px solid rgba(10, 53, 87, 0.1);
    border-radius: 20px;
    background: #ffffff;
}

.listing-v4-calendar .avail-month h4 {
    margin: 0 0 15px;
    color: #0a3557;
    font-size: 1rem;
    text-transform: capitalize;
}

.listing-v4-calendar .avail-grid {
    gap: 5px;
}

.listing-v4-calendar .dow {
    padding: 7px 0;
    color: #84949d;
    font-size: 0.66rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.listing-v4-calendar .avail-day {
    display: grid;
    aspect-ratio: 1 / 1;
    min-height: 0;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 9px;
    font-family: inherit;
    font-size: 0.75rem;
}

.listing-v4-calendar .avail-day.free {
    background: #eaf7f4;
    color: #397669;
}

.listing-v4-calendar .avail-day.busy {
    background: #f9e9e7;
    color: #a9635b;
}

.listing-v4-calendar .avail-day.empty {
    background: transparent;
    color: #c0c9ce;
}

.listing-v4-calendar .avail-day.is-start,
.listing-v4-calendar .avail-day.is-end {
    background: #0a3557 !important;
    color: #ffffff !important;
}

.listing-v4-calendar .avail-day.is-in-range {
    background: #cceff0 !important;
    color: #0a5578 !important;
}

.listing-v4-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.listing-v4-info-grid article {
    display: flex;
    min-height: 112px;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(10, 53, 87, 0.1);
    border-radius: 18px;
    background: #f9fbfc;
}

.listing-v4-info-grid article > span {
    font-size: 1.3rem;
}

.listing-v4-info-grid strong {
    color: #0a3557;
}

.listing-v4-info-grid p {
    margin: 6px 0 0;
    color: #71838f;
    font-size: 0.82rem;
    line-height: 1.55;
}

.listing-v4-booking-column {
    position: sticky;
    top: 108px;
}

.listing-v4-booking-card {
    padding: 24px;
    border: 1px solid rgba(10, 53, 87, 0.12);
    border-radius: 25px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(10, 53, 87, 0.14);
}

.listing-v4-price-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.listing-v4-price-header > div {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.listing-v4-price-header > div strong {
    color: #0a3557;
    font-size: 1.65rem;
}

.listing-v4-price-header > div span {
    color: #71838f;
    font-size: 0.78rem;
}

.listing-v4-booking-status {
    max-width: 135px;
    color: #4f8f35;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: right;
}

.listing-v4-booking-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.listing-v4-date-fields,
.listing-v4-guest-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(10, 53, 87, 0.13);
    border-radius: 15px;
}

.listing-v4-date-fields label,
.listing-v4-guest-fields label {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
    padding: 11px 12px;
}

.listing-v4-date-fields label + label,
.listing-v4-guest-fields label + label {
    border-left: 1px solid rgba(10, 53, 87, 0.12);
}

.listing-v4-date-fields label > span,
.listing-v4-guest-fields label > span {
    color: #0a3557;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
}

.listing-v4-date-fields input,
.listing-v4-guest-fields input {
    width: 100%;
    min-height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #36566a;
    font: inherit;
    font-size: 0.78rem;
    outline: none;
}

.listing-v4-quote {
    margin: 3px 0;
}

.listing-v4-contact-details {
    border: 1px solid rgba(10, 53, 87, 0.11);
    border-radius: 15px;
    background: #f9fbfc;
}

.listing-v4-contact-details summary {
    padding: 14px;
    color: #0a3557;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
}

.listing-v4-contact-details > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 14px 15px;
}

.listing-v4-contact-details label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #476274;
    font-size: 0.73rem;
    font-weight: 700;
}

.listing-v4-contact-details input,
.listing-v4-contact-details textarea {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid rgba(10, 53, 87, 0.12);
    border-radius: 10px;
    background: #ffffff;
    font: inherit;
}

.listing-v4-submit {
    min-height: 54px;
    margin-top: 2px;
}

.listing-v4-secure-note {
    margin: -3px 0 0;
    color: #86969f;
    font-size: 0.68rem;
    text-align: center;
}

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

.listing-gallery-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: rgba(4, 16, 26, 0.94);
}

.listing-gallery-modal.is-open {
    display: flex;
}

.listing-gallery-modal figure {
    display: flex;
    max-width: min(1200px, 82vw);
    max-height: 88vh;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.listing-gallery-modal figure img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 16px;
    object-fit: contain;
}

.listing-gallery-modal figcaption {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
}

.listing-gallery-close,
.listing-gallery-nav {
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.listing-gallery-close {
    top: 22px;
    right: 22px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.55rem;
}

.listing-gallery-nav {
    top: 50%;
    width: 50px;
    height: 68px;
    border-radius: 15px;
    font-size: 2rem;
    transform: translateY(-50%);
}

.listing-gallery-nav.is-prev {
    left: 24px;
}

.listing-gallery-nav.is-next {
    right: 24px;
}

@media (max-width: 1100px) {
    .listing-v4-layout {
        grid-template-columns: minmax(0, 1fr) 355px;
        gap: 38px;
    }

    .listing-v4-summary {
        grid-template-columns: repeat(3, minmax(105px, 1fr));
    }

    .listing-v4-amenities {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 880px) {
    .listing-v4-page {
        width: min(100% - 32px, 1460px);
    }

    .listing-v4-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .listing-v4-layout {
        display: flex;
        flex-direction: column;
    }

    .listing-v4-content,
    .listing-v4-booking-column {
        width: 100%;
    }

    .listing-v4-booking-column {
        position: static;
        order: -1;
    }

    .listing-v4-booking-card {
        box-shadow: 0 18px 45px rgba(10, 53, 87, 0.11);
    }

    .listing-v4-gallery {
        height: 480px;
        grid-template-columns: 1.45fr 1fr;
    }
}

@media (max-width: 640px) {
    .listing-v4-page {
        width: min(100% - 24px, 1460px);
        padding-top: 24px;
        padding-bottom: 80px;
    }

    .listing-v4-breadcrumb {
        overflow: hidden;
        white-space: nowrap;
    }

    .listing-v4-header h1 {
        font-size: clamp(2.55rem, 13vw, 4rem);
    }

    .listing-v4-header-actions {
        width: 100%;
    }

    .listing-v4-header-actions button {
        flex: 1;
    }

    .listing-v4-gallery {
        height: 350px;
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .listing-v4-gallery-side {
        display: none;
    }

    .listing-v4-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .listing-v4-section {
        padding: 38px 0;
    }

    .listing-v4-amenities,
    .listing-v4-info-grid,
    .listing-v4-calendar {
        grid-template-columns: 1fr;
    }

    .listing-v4-calendar-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .listing-v4-booking-card {
        padding: 18px;
        border-radius: 20px;
    }

    .listing-gallery-modal {
        padding: 25px 12px;
    }

    .listing-gallery-nav {
        width: 41px;
        height: 55px;
    }

    .listing-gallery-nav.is-prev {
        left: 8px;
    }

    .listing-gallery-nav.is-next {
        right: 8px;
    }
}


/* =========================================================
   CAMPIMMO PRICING ENGINE — DÉTAIL NUIT PAR NUIT
   ========================================================= */

.booking-nightly-details {
    margin: 5px 0 9px;
    border: 1px solid rgba(10, 53, 87, 0.09);
    border-radius: 12px;
    background: #f8fbfc;
}

.booking-nightly-details summary {
    padding: 10px 12px;
    color: #147cad;
    font-size: 0.73rem;
    font-weight: 800;
    cursor: pointer;
}

.booking-nightly-details > div {
    display: flex;
    flex-direction: column;
    padding: 0 12px 9px;
}

.booking-nightly-details > div > span {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 7px 0;
    border-top: 1px solid rgba(10, 53, 87, 0.07);
    color: #506a79;
    font-size: 0.74rem;
}

.booking-nightly-details > div > span > span {
    display: flex;
    flex-direction: column;
}

.booking-nightly-details small {
    margin-top: 2px;
    color: #8b9aa3;
    font-size: 0.64rem;
}

.booking-nightly-details strong {
    color: #17384e;
    white-space: nowrap;
}
