/* Carte du Cameroun par région — partial cameroon-map + js/cameroon-map.js */
.cm-map-wrap {
  position: relative;
  width: 100%;
  height: 430px;
  margin-top: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(13, 71, 161, 0.15);
  box-shadow: 0 10px 30px rgba(13, 71, 161, 0.12);
  background: #eaf0f7;
}
.cm-leaflet {
  width: 100%;
  height: 100%;
}

.cm-panel {
  position: absolute;
  top: 12px;
  right: -360px;
  width: 330px;
  max-width: calc(100% - 24px);
  max-height: calc(100% - 24px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}
.cm-panel.open {
  right: 12px;
}
.cm-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0d47a1, #16407f);
  color: #fff;
}
.cm-panel-header h3 {
  margin: 0;
  font-size: 1rem;
}
.cm-panel-header button {
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
}
.cm-panel-body {
  padding: 12px 16px 16px;
  overflow-y: auto;
}
.cm-coop-item {
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
}
.cm-coop-item:last-child {
  border-bottom: 0;
}
.cm-coop-item a {
  font-weight: 700;
  color: #0d47a1;
  text-decoration: none;
  font-size: 0.95rem;
}
.cm-coop-item a:hover {
  text-decoration: underline;
}
.cm-coop-item .cm-filiere {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 2px;
}
.cm-region-label {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 0 !important;
  color: #0d47a1 !important;
  font-weight: 700;
  font-size: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
@media (max-width: 640px) {
  .cm-map-wrap {
    height: 340px;
  }
}
