/* Google Maps custom infowindow style */

/* Hide Google Maps default triangle and tip container */
.gm-style .gm-style-iw-tc::after {
  display: none !important;
}
.gm-style .gm-style-iw-tc {
  display: none !important;
}

/* Base style */
.custom-infowindow {
  position: relative;
  padding: 8px 12px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
}

.gm-style .gm-style-iw-c{
  padding: 0 !important;
}

.gm-style-iw-chr{
  display: none !important;
}

/* Override Google Maps container to allow overflow for triangles */
.gm-style .gm-style-iw-d {
  overflow: visible !important;
}
.gm-style .gm-style-iw-c {
  overflow: visible !important;
}

.custom-infowindow a {
  color: #333;
  text-decoration: none;
}

.custom-infowindow a:hover {
  color: #0066cc;
}

/* Triangle common style */
.custom-infowindow::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 8px solid transparent;
}

/* Top direction (default): triangle points down */
.custom-infowindow.infowindow--top::before {
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-top-color: white;
  border-bottom: none;
}

/* Bottom direction: triangle points up */
.custom-infowindow.infowindow--bottom::before {
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-color: white;
  border-top: none;
}

/* Left direction: triangle points right */
.custom-infowindow.infowindow--left::before {
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-left-color: white;
  border-right: none;
}

/* Right direction: triangle points left */
.custom-infowindow.infowindow--right::before {
  left: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-right-color: white;
  border-left: none;
}

/* Individual shop customization examples */
/* Add custom styles as needed for each shop */

/* Elite */
.custom-infowindow.info-elite {
  /* Add custom styles here if needed */
}

/* Chaleur */
.custom-infowindow.info-chaleur {
  /* Add custom styles here if needed */
}

/* Fuyajo */
.custom-infowindow.info-fuyajo {
  /* Add custom styles here if needed */
}

/* Maharaja */
.custom-infowindow.info-maharaja {
  /* Add custom styles here if needed */
}

/* Napoleon */
.custom-infowindow.info-napoleon {
  /* Add custom styles here if needed */
}

/* Continental */
.custom-infowindow.info-continental {
  /* Add custom styles here if needed */
}

/* Silk Hat */
.custom-infowindow.info-silk {
  /* Add custom styles here if needed */
}

/* Individual position adjustments using CSS */
/* Note: To adjust infowindow position for each shop, */
/* you need to use JavaScript customOffset property in map.php */
/* CSS alone cannot target Google Maps generated elements reliably */
