/* --- Sidebar --- */
.im-sidebar {
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  height: 100%;
  background: #fff;
  border-radius: 0 12px 12px 0;
  transform: translateX(-120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .3s ease, opacity .2s ease, visibility 0s linear .3s, box-shadow .2s ease;
  z-index: 1100;
  box-shadow: none;
  will-change: transform;
}
.im-sidebar.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  box-shadow: 4px 0 20px rgba(0, 0, 0, .1);
  transition: transform .3s ease, opacity .2s ease, visibility 0s linear 0s, box-shadow .2s ease;
}

.sidebar-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.sidebar-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
}

#sidebarTitle {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin: 0;
}
#sidebarImage {
  margin-bottom:20px;
}

#closeSidebar {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

/* Détails de la sidebar */
.sidebar-details { }
.detail-row { }
.detail-label { }
.detail-value { }
.detail-description { }


/* Call to Action */
.sidebar-cta {
  margin-top:20px;
}

.im-cta-button {
  background:var(--boreal);
  color:var(--lin);
  transition: all 0.3s ease;
  padding:15px 40px;
  border-radius:8px;
 }

 .im-cta-button:hover {
  background:var(--boreal-hover);
 }

/* Statuts */
.status.available { color: green; }
.status.reserved { color: red; }
.status.preselected { color: orange; }
.status.sold { color: red; }

