:root {
  --cbm-navy: #091440;
  --cbm-aqua: #1f968a;
  --cbm-map-bg: #d8eef1;
}

.cbm6-shell,
.cbm6-shell * {
  box-sizing: border-box;
}

.cbm6-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  font-family: inherit;
  color: var(--cbm-navy);
}

/* Full-width top edge, curve only along the bottom. */
.cbm6-ribbon {
  position: relative;
  z-index: 500;
  width: 100%;
  min-height: 82px;
  margin: 0;
  padding: 12px 28px 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cbm-navy);
  color: #fff;
  text-align: center;
  overflow: hidden;
  clip-path: ellipse(88% 100% at 50% 0%);
}

.cbm6-ribbon::before {
  content: "";
  position: absolute;
  inset: 0 0 18px;
  background: var(--cbm-navy);
  z-index: -1;
}

.cbm6-ribbon span {
  font-size: clamp(25px, 2.25vw, 38px);
  line-height: .88;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.cbm6-stage {
  position: relative;
  height: min(610px, 67vh);
  min-height: 520px;
  margin-top: -18px;
  background: var(--cbm-map-bg);
}

.cbm6-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: var(--cbm-map-bg);
}

.cbm6-panel {
  position: absolute;
  z-index: 600;
  left: clamp(28px, 6.5vw, 108px);
  top: 72px;
  width: min(280px, 28vw);
  pointer-events: none;
}

.cbm6-panel h2 {
  margin: 0 0 18px;
  color: var(--cbm-navy) !important;
  font-size: clamp(27px, 2.2vw, 38px);
  line-height: .96;
  font-weight: 800;
  letter-spacing: -.025em;
  text-shadow: none !important;
}

.cbm6-panel label {
  display: block;
  margin: 0 0 5px;
  color: var(--cbm-navy) !important;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  pointer-events: auto;
}

.cbm6-select-row {
  display: flex;
  align-items: stretch;
  width: 100%;
  pointer-events: auto;
}

.cbm6-select-row select {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  margin: 0 !important;
  padding: 0 36px 0 12px;
  border: 1px solid var(--cbm-navy) !important;
  border-right: 0 !important;
  border-radius: 6px 0 0 6px !important;
  outline: 0;
  background-color: #fff;
  color: var(--cbm-navy);
  font: inherit;
  font-size: 15px;
}

.cbm6-select-row button {
  flex: 0 0 56px;
  height: 42px;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid var(--cbm-navy) !important;
  border-radius: 0 6px 6px 0 !important;
  background: var(--cbm-navy) !important;
  color: #fff !important;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 40px !important;
  text-align: center;
  cursor: pointer;
  box-shadow: none !important;
}

.cbm6-select-row button:hover,
.cbm6-select-row button:focus {
  background: #14245d !important;
  color: #fff !important;
}

.cbm6-card {
  position: absolute;
  z-index: 650;
  right: 20px;
  bottom: 20px;
  width: min(390px, calc(100% - 40px));
  padding: 24px 54px 24px 26px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--cbm-navy);
  box-shadow: 0 8px 30px rgba(9, 20, 64, .12);
}

.cbm6-card[hidden] { display: none !important; }

.cbm6-card h3 {
  margin: 0 0 10px;
  color: var(--cbm-navy) !important;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 700;
}

.cbm6-address {
  margin: 0 0 12px;
  line-height: 1.45;
  white-space: pre-line;
}

.cbm6-card a {
  display: block;
  width: fit-content;
  margin: 9px 0 0;
  color: var(--cbm-navy) !important;
  font-weight: 700;
  text-decoration: none !important;
}

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

.cbm6-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--cbm-navy) !important;
  color: #fff !important;
  font-size: 0;
  line-height: 1 !important;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(9, 20, 64, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.cbm6-close::before,
.cbm6-close::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  left: 50%;
  top: 50%;
}

.cbm6-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cbm6-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cbm6-close:hover {
  transform: scale(1.06);
  box-shadow: 0 5px 14px rgba(9, 20, 64, 0.24);
}

.cbm6-close:focus-visible {
  outline: 3px solid rgba(9, 20, 64, 0.22);
  outline-offset: 3px;
}

.cbm6-pin-wrap {
  background: transparent !important;
  border: 0 !important;
}

.cbm6-pin {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--cbm-navy);
  box-shadow: 0 2px 7px rgba(0,0,0,.22);
  transform: rotate(-45deg);
}

.cbm6-pin span {
  position: absolute;
  width: 8px;
  height: 8px;
  left: 50%;
  top: 47%;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.cbm6-map .leaflet-control-zoom {
  border: 0 !important;
  box-shadow: 0 2px 8px rgba(9,20,64,.16) !important;
}

.cbm6-map .leaflet-control-zoom a {
  width: 34px !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  color: var(--cbm-navy) !important;
  font-size: 22px !important;
  line-height: 1 !important;
  text-indent: 0 !important;
}

.cbm6-map .leaflet-control-attribution {
  font-size: 10px;
}

@media (max-width: 767px) {
  .cbm6-ribbon {
    min-height: 70px;
    padding: 10px 18px 18px;
    clip-path: ellipse(105% 100% at 50% 0%);
  }

  .cbm6-stage {
    height: 650px;
    min-height: 650px;
  }

  .cbm6-panel {
    left: 18px;
    right: 18px;
    top: 54px;
    width: auto;
  }

  .cbm6-panel h2 {
    font-size: 27px;
    margin-bottom: 14px;
  }

  .cbm6-select-row {
    width: min(310px, 100%);
  }

  .cbm6-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    padding: 20px 50px 20px 20px;
  }

  .cbm6-card h3 { font-size: 22px; }
}


/* V9: professional bottom-left zoom controls */
.cbm6-map .leaflet-bottom.leaflet-left {
  left: 18px;
  bottom: 18px;
}

.cbm6-map .leaflet-control-zoom {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(9, 20, 64, 0.18) !important;
}

.cbm6-map .leaflet-control-zoom a {
  width: 42px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(9, 20, 64, 0.10) !important;
  background: #fff !important;
  color: var(--cbm-navy) !important;
  font-family: Arial, sans-serif !important;
  font-size: 25px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  transition: background 150ms ease, color 150ms ease;
}

.cbm6-map .leaflet-control-zoom a:last-child {
  border-bottom: 0 !important;
}

.cbm6-map .leaflet-control-zoom a:hover,
.cbm6-map .leaflet-control-zoom a:focus {
  background: var(--cbm-navy) !important;
  color: #fff !important;
}

.cbm6-map .leaflet-control-zoom-in,
.cbm6-map .leaflet-control-zoom-out {
  border-radius: 0 !important;
}

@media (max-width: 767px) {
  .cbm6-map .leaflet-bottom.leaflet-left {
    left: 12px;
    bottom: 12px;
  }

  .cbm6-map .leaflet-control-zoom a {
    width: 40px !important;
    height: 40px !important;
  }
}

/* V10 */
.cbm6-map{height:clamp(700px,82vh,980px)!important;min-height:700px!important}
.cbm6-ribbon{min-height:108px!important;padding:27px 30px 31px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.cbm6-ribbon,.cbm6-ribbon *{font-family:"Montserrat",Arial,sans-serif!important}
.cbm6-ribbon h2,.cbm6-ribbon .cbm6-ribbon-title{margin:0!important;font-family:"Montserrat",Arial,sans-serif!important;font-size:clamp(24px,1.8vw,31px)!important;line-height:.92!important;font-weight:700!important;letter-spacing:-.02em!important}
@media(max-width:1024px){.cbm6-map{height:72vh!important;min-height:620px!important}.cbm6-ribbon{min-height:96px!important;padding:23px 22px 27px!important}}
@media(max-width:767px){.cbm6-map{height:72vh!important;min-height:560px!important}.cbm6-ribbon{min-height:82px!important;padding:19px 16px 23px!important}.cbm6-ribbon h2,.cbm6-ribbon .cbm6-ribbon-title{font-size:22px!important}}
