.custom-infowindow {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--e-global-color-text);
  padding: 0;
  max-width: 280px;
  border-radius: 8px;
  overflow: hidden;
}

.custom-infowindow .ciw-logo {
  width: 100px;
  height: auto;
  margin-right: 10px;
  object-fit: contain;
  order:-1;
}

.custom-infowindow .ciw-content {
  padding-top: 15px;
}

.custom-infowindow .ciw-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom:0;
  color: var(--e-global-color-text);
}

.custom-infowindow .ciw-address {
  margin-bottom: 0;
}

.custom-infowindow .ciw-csz {
  margin-bottom: 0;
}

.custom-infowindow .ciw-link a {
  color: var(--e-global-color-primary);
  text-decoration: none;
  font-weight: 500;
  outline: none;
}

.custom-infowindow .ciw-link a:hover {
  text-decoration: underline;
}

.acf-marker {
  cursor: pointer;
  display: block;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

/* Ensure Elementor widget container styling works */
.elementor-widget .acf-marker {
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

/* Button styling - minimal CSS to let Elementor controls handle everything */
.acf-marker .website-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.acf-marker .website-button .elementor-button-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  font-size: inherit !important;
  vertical-align: middle !important;
}

.acf-marker .website-button .elementor-button-text {
  display: inline-block !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}
.acf-marker strong, .acf-marker .address-line, .acf-marker .csz-line {
  display: block;
}
/* Fallback colors if CSS variables are not available */
.custom-infowindow {
  color: #333;
}

.custom-infowindow .ciw-title {
  color: #333;
}

.custom-infowindow .ciw-link a {
  color: var(--e-global-color-secondary);
}