/* Costa Azul Product Map v1.0.0 */
.caz-product-map,
.caz-product-map * {
  box-sizing: border-box;
}

.caz-product-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.46fr);
  align-items: start;
  gap: 34px;
  width: 100%;
}

.caz-product-map-layout__content,
.caz-product-map-layout__map {
  min-width: 0;
}

.caz-product-map {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(420px, 0.62fr);
  align-items: stretch;
  gap: 22px;
  width: 100%;
  margin: 34px 0 0;
  padding: 28px;
  border: 1px solid rgba(8, 127, 224, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(5, 39, 82, 0.12);
  color: #0a3f86;
  overflow: hidden;
}

.caz-product-map--inline {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.caz-product-map--inline .caz-product-map__copy {
  display: none;
}

.caz-product-map--inline .caz-product-map__canvas {
  width: 100%;
  height: 430px;
  min-height: 430px;
}

.caz-product-map--inline .caz-product-map__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
  gap: 8px;
}

.caz-product-map--inline .caz-product-map__note {
  margin-top: 10px;
}

.caz-product-map__copy {
  max-width: 760px;
  margin: 0;
}

.caz-product-map__copy span {
  display: block;
  margin-bottom: 8px;
  color: #ff8500;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.caz-product-map__copy h2 {
  margin: 0;
  color: #0a3f86;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.caz-product-map__copy p {
  max-width: 620px;
  margin: 10px 0 0;
  color: #5d6d82;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
}

.caz-product-map__canvas {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 8px;
  background: #dce8f4;
  overflow: hidden;
}

.caz-product-map__canvas .leaflet-pane,
.caz-product-map__canvas .leaflet-map-pane,
.caz-product-map__canvas .leaflet-tile,
.caz-product-map__canvas .leaflet-marker-icon,
.caz-product-map__canvas .leaflet-marker-shadow,
.caz-product-map__canvas .leaflet-tile-container,
.caz-product-map__canvas .leaflet-pane > svg,
.caz-product-map__canvas .leaflet-pane > canvas,
.caz-product-map__canvas .leaflet-zoom-box,
.caz-product-map__canvas .leaflet-image-layer,
.caz-product-map__canvas .leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.caz-product-map__canvas .leaflet-tile,
.caz-product-map__canvas .leaflet-marker-icon,
.caz-product-map__canvas .leaflet-marker-shadow {
  user-select: none;
}

.caz-product-map__canvas .leaflet-tile {
  width: 256px;
  height: 256px;
  border: 0;
  filter: none;
}

.caz-product-map__canvas .leaflet-control-attribution {
  font-size: 10px;
}

.caz-product-map__pin {
  background: transparent;
  border: 0;
}

.caz-product-map__pin span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #087fe0;
  box-shadow: 0 8px 18px rgba(8, 127, 224, 0.32);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.caz-product-map__list {
  display: grid;
  grid-template-columns: 1fr;
  align-self: end;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.caz-product-map__list li {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f3f7fc;
  color: #0a3f86;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.caz-product-map__list strong {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #087fe0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.caz-product-map__list span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.caz-product-map__note {
  grid-column: 1 / -1;
  margin: 0;
  color: #7a8796;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}

.caz-product-map__expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  margin: 10px 0 0;
  padding: 9px 15px;
  border: 1px solid rgba(8, 127, 224, 0.25);
  border-radius: 999px;
  background: #ffffff;
  color: #0a3f86;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.caz-product-map__expand:hover,
.caz-product-map__expand:focus-visible {
  background: #087fe0;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(8, 127, 224, 0.22);
  transform: translateY(-1px);
}

.caz-product-map__expand-icon {
  position: relative;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.caz-product-map__expand-icon::before,
.caz-product-map__expand-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.caz-product-map__expand-icon::before {
  right: -4px;
  top: 3px;
  width: 7px;
  height: 2px;
}

.caz-product-map__expand-icon::after {
  right: -4px;
  top: 3px;
  width: 2px;
  height: 7px;
}

.caz-product-map--fallback .caz-product-map__canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  min-height: 220px;
  padding: 24px;
}

.caz-product-map--fallback .caz-product-map__canvas a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #087fe0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.caz-product-map-modal-open {
  overflow: hidden;
}

.caz-product-map-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  padding: 26px;
  background: rgba(2, 20, 45, 0.62);
}

.caz-product-map-modal__dialog {
  display: flex;
  flex-direction: column;
  width: min(1240px, 100%);
  max-height: min(840px, 100%);
  margin: auto;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.caz-product-map-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(10, 63, 134, 0.12);
  color: #0a3f86;
  font-size: 18px;
  font-weight: 900;
}

.caz-product-map-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f3f7fc;
  color: #10243f;
  cursor: pointer;
  font-family: inherit;
  font-size: 28px;
  line-height: 1;
}

.caz-product-map-modal__body {
  min-height: 0;
  padding: 18px;
  overflow: auto;
}

.caz-product-map--modal {
  min-height: 620px;
  margin: 0;
  box-shadow: none;
}

@media (max-width: 767px) {
  .caz-product-map-layout {
    display: block;
  }

  .caz-product-map-layout__map {
    margin-top: 20px;
  }

  .caz-product-map {
    display: block;
    margin-top: 24px;
    padding: 18px;
  }

  .caz-product-map__copy h2 {
    font-size: 26px;
  }

  .caz-product-map__copy p {
    font-size: 15px;
  }

  .caz-product-map__canvas {
    margin-top: 18px;
    height: 330px;
    min-height: 300px;
  }

  .caz-product-map__list {
    margin-top: 14px;
    grid-template-columns: 1fr;
  }

  .caz-product-map__note {
    margin-top: 10px;
  }

  .caz-product-map--inline {
    margin-top: 0;
    padding: 0;
  }

  .caz-product-map--inline .caz-product-map__canvas {
    height: 330px;
    min-height: 300px;
  }

  .caz-product-map--inline .caz-product-map__list {
    grid-template-columns: 1fr;
  }

  .caz-product-map-modal {
    padding: 10px;
  }

  .caz-product-map-modal__dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 10px;
  }

  .caz-product-map-modal__body {
    padding: 12px;
  }

  .caz-product-map--modal {
    min-height: auto;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .caz-product-map-layout {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.44fr);
    gap: 24px;
  }

  .caz-product-map {
    grid-template-columns: minmax(230px, 0.42fr) minmax(340px, 0.58fr);
    gap: 18px;
    padding: 22px;
  }

  .caz-product-map__copy h2 {
    font-size: 29px;
  }

  .caz-product-map__copy p {
    font-size: 15px;
  }
}
