.ccam-map-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
}

.ccam-map-header {
  text-align: center;
  margin-bottom: 24px;
}

.ccam-map-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.ccam-map-intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #55615a;
}

.ccam-map {
  position: relative;
  width: 100%;
  min-height: var(--ccam-map-height, 640px);
  overflow: visible;
  background: transparent;
  isolation: isolate;
}

.ccam-map__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;

  -webkit-mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 48%,
    rgba(0, 0, 0, 0.72) 64%,
    rgba(0, 0, 0, 0.25) 80%,
    rgba(0, 0, 0, 0) 100%
  );

  mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 48%,
    rgba(0, 0, 0, 0.72) 64%,
    rgba(0, 0, 0, 0.25) 80%,
    rgba(0, 0, 0, 0) 100%
  );

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.ccam-map__image::after {
  display: none;
}

.ccam-map__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ccam-map__points {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: visible;
  pointer-events: none;
}

.ccam-point {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  overflow: visible;
  pointer-events: auto;
}

.ccam-point:hover,
.ccam-point:focus-within,
.ccam-point.is-active {
  z-index: 100;
}

.ccam-point__button {
  width: 42px;
  height: 42px;
  border: 2px solid #00496e;
  border-radius: 999px;
  background-color: #ffffff;
  background-image: url('https://celticcycles-location.fr/wp-content/uploads/2026/03/cropped-favicon-ccl.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  display: block;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ccam-point__button:hover,
.ccam-point:hover .ccam-point__button,
.ccam-point:focus-within .ccam-point__button,
.ccam-point.is-active .ccam-point__button {
  transform: scale(1.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.ccam-card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%) translateY(8px);
  width: 280px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 120;
}

.ccam-point:hover .ccam-card,
.ccam-point:focus-within .ccam-card,
.ccam-point.is-active .ccam-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ccam-card__inner {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ccam-card__status {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a9621;
}

.ccam-card__title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.ccam-card__subtitle {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #33413a;
  font-weight: 600;
}

.ccam-card__description {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #56625b;
}

.ccam-card__actions {
  margin: 0;
}

.ccam-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #00496e;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.ccam-card__link:hover {
  opacity: 0.9;
  color: #ffffff;
}

.ccam-notice {
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff8e5;
  color: #6a5300;
  border: 1px solid #f0de9d;
}

/* Admin picker */

.ccam-admin-picker {
  margin-top: 20px;
  max-width: 760px;
}

.ccam-admin-picker__map {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 430px;
  border: 1px solid #dcdcde;
  border-radius: 12px;
  overflow: hidden;
  cursor: crosshair;
  background: #f6f6f2;
  line-height: 0;
}

.ccam-admin-picker__map img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.ccam-admin-picker__marker {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #ff6a00;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px #00496e, 0 10px 24px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  z-index: 50;
}

.ccam-admin-picker__marker::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  background: #ffffff;
}

.ccam-admin-picker__marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 12px solid #ff6a00;
  transform: translateX(-50%);
}

#ccam_point_details .inside {
  overflow: visible;
}

@media (max-width: 768px) {
  .ccam-map {
    min-height: 520px;
  }

  .ccam-map__image {
    border-radius: 18px;

    -webkit-mask-image: radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 45%,
      rgba(0, 0, 0, 0.72) 62%,
      rgba(0, 0, 0, 0.25) 80%,
      rgba(0, 0, 0, 0) 100%
    );

    mask-image: radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 45%,
      rgba(0, 0, 0, 0.72) 62%,
      rgba(0, 0, 0, 0.25) 80%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .ccam-point__button {
    width: 46px;
    height: 46px;
    background-size: 26px 26px;
  }

  .ccam-card {
    width: 240px;
  }

  .ccam-card__inner {
    padding: 16px;
  }

  .ccam-card__title {
    font-size: 18px;
  }

  .ccam-admin-picker {
    max-width: 100%;
  }

  .ccam-admin-picker__map {
    max-width: 100%;
    max-height: none;
  }
}