/* MAIN */
  #detailMain{
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
  }
  #detailMain .swiper-slide img{
    width: 100%;
    height: clamp(390px, 67vh, 780px);
    object-fit: cover;
    display: block;
  }
  /* Tablette */
@media (max-width: 991.98px){
  #detailMain .swiper-slide img{
    height: clamp(300px, 44vh, 460px);
  }
}

/* Téléphone */
@media (max-width: 767.98px){
  #detailMain .swiper-slide img{
    height: clamp(235px, 34vh, 305px);
  }
}
  
  
  
  
  
  #mainPrev, #mainNext { z-index: 20; }

  /* THUMBS */
 #thumbWrap { overflow: hidden; }
 #thumbPrev, #thumbNext { z-index: 20; }

 #detailThumbs { overflow: hidden; }
 #detailThumbs .swiper-slide{ opacity: .6; cursor: pointer; }
 #detailThumbs .swiper-slide-thumb-active{
    opacity: 1;
    outline: 2px solid rgba(13,110,253,.6);
    outline-offset: 2px;
    border-radius: .75rem;
  }
 #detailThumbs .swiper-slide img{
    width: 100%;
    height: 72px;
    object-fit: cover;
    display: block;
    border-radius: .75rem;
  }

 /* Hide arrows when thumbs can't scroll */
 #thumbPrev.swiper-button-lock,
 #thumbNext.swiper-button-lock { display: none !important; }

  /* Optional: soften buttons */
 #thumbPrev, #thumbNext, #mainPrev, #mainNext { opacity: .95; }
 #thumbPrev:hover, #thumbNext:hover, #mainPrev:hover, #mainNext:hover { opacity: 1; }
/* pas de padding qui décale */
#thumbWrap { position: relative; overflow: hidden; }
#thumbPrev, #thumbNext { z-index: 50; }
#detailThumbs { padding: 0 !important; }
#detailThumbs .swiper-wrapper { margin: 0 !important; padding: 0 !important; }
#thumbPrev.swiper-button-lock,
#thumbNext.swiper-button-lock { display: none !important; }
/* Fade edges for thumbs (premium look) */
#thumbWrap { position: relative; }

#thumbWrap::before,
#thumbWrap::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width:44px;              /* largeur du fade */
  pointer-events:none;     /* ne bloque pas les clics */
  z-index: 15;             /* au-dessus des thumbs, sous les flèches si z-index 20+ */
}
/* fade gauche */
#thumbWrap::before{
  left:0;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* fade droite */
#thumbWrap::after{
  right:0;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}


@media (min-width: 992px){
  #thumbPrev, #thumbNext { opacity: 0; transition: opacity .15s ease; }
  #thumbWrap:hover #thumbPrev,
  #thumbWrap:hover #thumbNext { opacity: 1; }
}

.bg-gray-200 {
  background: #e9ecef !important;
}
.pb-6,
.py-6 {
  padding-top: 6rem !important;
}
.pb-6,
.py-6 {
  padding-bottom: 6rem !important;
}
.z-index-10 {
  z-index: 10;
}
.bg-gray-800 {
  background: #343a40 !important;
}
.text-gray-300 {
  color: #dee2e6;
}
.text-sm {
  font-size: 0.875rem;
}
.w-2rem {
  width: 2rem !important;
}
.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  text-decoration: underline;
}
.text-shadow {
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.text-shadow-primary {
  text-shadow: 2px 2px 2px rgba(78, 102, 248, 0.1);
}
.hover-animate {
  transition: all 0.2s ease-in-out;
}

.hover-animate:hover,
.hover-animate:focus {
  transform: translate3d(0, -2px, 5px);
}

/* Real-estate HR (Bootstrap 5 friendly) */
.re-hr{
  position: relative;
  border: 0 !important;
  height: 2px;
  margin: 0;
  opacity: 1 !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(182,135,43,.35) 12%,
    rgba(230,196,106,.95) 50%,
    rgba(182,135,43,.35) 88%,
    transparent 100%
  );
}
.bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.dark-overlay,
.light-overlay,
.gradient-overlay {
  position: relative;
  overflow: hidden;
}

.dark-overlay::after,
.light-overlay::after,
.gradient-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .3;
  z-index: 1;
}

.overlay-content {
  position: relative;
  z-index: 2;
}
/* Center badge */
.re-hr::after{
  content: "\f5f0"; /* bi-house-door (Bootstrap Icons glyph) */
  font-family: "bootstrap-icons";
  font-size: 16px;
  line-height: 36px;
  text-align: center;

  position: absolute;
  left: 50%;
  top: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 999px;

  color: #b6872b;
  background: #fff;
  border: 1px solid rgba(230,196,106,.7);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}

/* subtle glow behind badge */
.re-hr::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width: 110px;
  height: 12px;
  transform: translate(-50%,-50%);
  background: radial-gradient(closest-side, rgba(230,196,106,.35), transparent 70%);
  pointer-events:none;
}

/* File: /cssboot/custom.css */

/* Right column details card */
.property-specs-card{
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 18px 18px 16px;
}

.property-specs-title{
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

/* 2 columns inside the card on desktop */
.property-specs-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.spec{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.03);
}
.spec-ico{
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(230,196,106,.16);
  color: #b6872b;
}

.spec-ico i{
  font-size: 15px;
  line-height: 1;
  display: block;
  transform: translateY(-0.5px);
}

/* Amenities spacing */
.property-amenities{ margin-top: 1.25rem; }
.spec-val{
  font-weight: 800;
  font-size: 0,9 rem !important;
  line-height: .9;
}

.spec-lbl{
  font-size: .84rem;
  color: rgba(0,0,0,.62);
  margin-top: 2px;
}

.property-specs-note{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  color: rgba(0,0,0,.72);
}

/* Mobile: 1 column */
@media (max-width: 991.98px){
  .property-specs-grid{ grid-template-columns: 1fr; }
}

.property-amenities{
  margin-top: 1.25rem;
}

.amenities-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.amenity{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.03);
}

.amenity-ico{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(230,196,106,.16);
  color: #b6872b;
  font-size: 15px;
}

.amenity span{
  font-size: .95rem;
  color: rgba(0,0,0,.78);
}

  .cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #1f2937;
    color: #fff;
    padding: 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.2);
    display: none; /* affiché en JS si pas encore choisi */
  }

  .cookie-banner--visible {
    display: block;
  }
  .cookie-banner__content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  }


  .cookie-banner__content p {
    margin: 0;
    line-height: 1.4;
    flex: 1 1 600px;
    font-size: 14px;
  }

  .cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .cookie-btn {
    border: 0;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
  }

  .cookie-btn--accept {
    background: #10b981;
    color: #fff;
  }

  .cookie-btn--reject {
    background: #e5e7eb;
    color: #111827;
  }

  .cookie-btn:hover {
    opacity: .92;
  }
  

.img-hover-zoom {
  position: relative;
}

.img-hover-zoom img {
  transition: transform 0.4s ease;
}

.img-hover-zoom:hover img {
  transform: scale(1.05);
}
.light-overlay,
.dark-overlay,
.gradient-overlay {
  position: relative;
  overflow: hidden;
}

.light-overlay .overlay-content,
.dark-overlay .overlay-content,
.gradient-overlay .overlay-content {
  position: relative;
  z-index: 20;
}

.light-overlay::after,
.dark-overlay::after,
.gradient-overlay::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: ' ';
  opacity: .3;
  background: #000;
}

.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
}
.subtitle {
  margin-bottom: 0;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #868e96;
  font-weight: bold;
}
.bg-gray-100 {
  background: #f8f9fa !important;
}
.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.4rem;
}

.card > hr {
  margin-right: 0;
  margin-left: 0;
}

.card > .list-group:first-child .list-group-item:first-child {
  border-top-left-radius: 0.4rem;
  border-top-right-radius: 0.4rem;
}

.card > .list-group:last-child .list-group-item:last-child {
  border-bottom-right-radius: 0.4rem;
  border-bottom-left-radius: 0.4rem;
}

.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1.25rem;
}

.card-title {
  margin-bottom: 0.75rem;
}

.card-subtitle {
  margin-top: -0.375rem;
  margin-bottom: 0;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-link:hover {
  text-decoration: none;
}

.card-link + .card-link {
  margin-left: 1.25rem;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
  border-radius: calc(0.4rem - 1px) calc(0.4rem - 1px) 0 0;
}

.card-header + .list-group .list-group-item:first-child {
  border-top: 0;
}

.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer:last-child {
  border-radius: 0 0 calc(0.4rem - 1px) calc(0.4rem - 1px);
}

.card-header-tabs {
  margin-right: -0.625rem;
  margin-bottom: -0.75rem;
  margin-left: -0.625rem;
  border-bottom: 0;
}

.card-header-pills {
  margin-right: -0.625rem;
  margin-left: -0.625rem;
}

.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
}

.card-img,
.card-img-top,
.card-img-bottom {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
}

.card-img,
.card-img-top {
  border-top-left-radius: calc(0.4rem - 1px);
  border-top-right-radius: calc(0.4rem - 1px);
}

.card-img,
.card-img-bottom {
  border-bottom-right-radius: calc(0.4rem - 1px);
  border-bottom-left-radius: calc(0.4rem - 1px);
}

.card-deck .card {
  margin-bottom: 15px;
}

@media (min-width: 576px) {
  .card-deck {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin-right: -15px;
    margin-left: -15px;
  }
  .card-deck .card {
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    margin-right: 15px;
    margin-bottom: 0;
    margin-left: 15px;
  }
}

.card-group > .card {
  margin-bottom: 15px;
}

@media (min-width: 576px) {
  .card-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  }
  .card-group > .card {
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    margin-bottom: 0;
  }
  .card-group > .card + .card {
    margin-left: 0;
    border-left: 0;
  }
  .card-group > .card:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .card-group > .card:not(:last-child) .card-img-top,
  .card-group > .card:not(:last-child) .card-header {
    border-top-right-radius: 0;
  }
  .card-group > .card:not(:last-child) .card-img-bottom,
  .card-group > .card:not(:last-child) .card-footer {
    border-bottom-right-radius: 0;
  }
  .card-group > .card:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .card-group > .card:not(:first-child) .card-img-top,
  .card-group > .card:not(:first-child) .card-header {
    border-top-left-radius: 0;
  }
  .card-group > .card:not(:first-child) .card-img-bottom,
  .card-group > .card:not(:first-child) .card-footer {
    border-bottom-left-radius: 0;
  }
}

.card-columns .card {
  margin-bottom: 0.75rem;
}

@media (min-width: 576px) {
  .card-columns {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 1.25rem;
    -moz-column-gap: 1.25rem;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1;
  }
  .card-columns .card {
    display: inline-block;
    width: 100%;
  }
}
.link-underline-animate{
  display: inline-block;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .2s ease;
}
.link-underline-animate:hover{
  background-size: 100% 1px;
}
/* /assets/css/hero.css */
.hero-100{
  width: 100%;
  min-height: 320px;              /* ajuste si tu veux plus haut */
  background-image: url("img/photo/photo-1522143049013-2519756a52d4.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-100::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);    /* intensité de l’overlay */
}
.hero-home{
  min-height: 520px;
  background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
  url('/img/illustration/top2.jpg') center center / cover no-repeat;
}

@media (max-width: 991.98px){
  .hero-home{
    min-height: 380px;
    background-position: center center;
  }
}


/* version correcte de py-6 / py-lg-6 si vous voulez les garder */
@media (min-width: 992px){
  .py-lg-6{
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
}




.text-decoration-underline-hover:hover{
  text-decoration: underline !important;
}

#detailMap { height: 360px; }
@media (min-width: 992px) { #detailMap { height: 420px; } }
.property-specs-card .spec .spec-txt .spec-val{
  font-size: 0.9rem !important;
}
/* Bigger text on phones, normal on desktop */
body {
  font-size: 1.1rem;
  line-height: 1.65;
}

@media (min-width: 992px) {
  body {
    font-size: 1rem;
    line-height: 1.5;
  }
}

h1, .h1 { font-size: 2rem; }
h2, .h2 { font-size: 1.6rem; }
h3, .h3 { font-size: 1.35rem; }
h5, .h5 { font-size: 1.15rem; }

html, body {
  overflow-x: hidden;
}
html, body {
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

#detailMain,
#detailThumbs,
#thumbWrap,
.swiper {
  max-width: 100%;
  overflow: hidden;
}
#detailMain,
#detailThumbs,
#thumbWrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.swiper-wrapper {
  max-width: 100%;
}
.swiper-slide {
  max-width: 100%;
}
