.tippy-box[data-theme~="poi-popup-tippy"] {
  width: 220px !important;
  max-width: 320px !important;
}

.tippy-box {
  border-radius: 0.5rem !important;
  background-color: var(--colorBrandPrimary) !important;
  padding: max(0.75rem, 10px) !important;
}

.tippy-content {
  padding: 0 !important;
}

[data-theme~="poi-popup-tippy"] .tippy-content {
  width: 100% !important;
}

.tippy-box[data-theme~="light"] {
  background-color: var(--colorBrandNeutral) !important;
  color: var(--colorBrandPrimary) !important;
}

.tippy-box[data-theme~="light"][data-placement^="top"]:not(
    [data-theme~="lot-popup"]
  )
  > .tippy-arrow:before {
  border-top-color: var(--popupColor) !important;
}
.tippy-box[data-theme~="light"][data-placement^="bottom"]:not(
    [data-theme~="lot-popup"]
  )
  > .tippy-arrow:before {
  border-bottom-color: var(--popupColor) !important;
}
.tippy-box[data-theme~="light"][data-placement^="left"]:not(
    [data-theme~="lot-popup"]
  )
  > .tippy-arrow:before {
  border-left-color: var(--popupColor) !important;
}
.tippy-box[data-theme~="light"][data-placement^="right"]:not(
    [data-theme~="lot-popup"]
  )
  > .tippy-arrow:before {
  border-right-color: var(--popupColor) !important;
}
/* ------ */
.popup-poi-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
}
.popup-poi-top {
  margin-bottom: 0.6rem;
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  overflow: hidden;
}
.popup-poi-top img {
  height: auto;
  object-fit: cover;
  min-height: 65px;
  display: block;
  width: 100%;
}
.popup-poi-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.popup-poi-title {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0.6rem;
  font-size: max(1rem, 10px);
  font-family: var(--fontHeader);
  font-weight: 550;
  color: var(--colorBrandSecondary);
}
.popup-poi-route {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.6rem;
}
.popup-poi-route img {
  width: 1.3rem;
  height: auto;
  vertical-align: middle;
}
.popup-poi-route div {
  font-size: max(0.8rem, 9px);
  color: var(--colorBrandSecondary90);
  font-weight: 400;
}
.popup-poi-description {
  text-align: center;
  font-weight: normal;
  line-height: 1.6;
  font-size: max(0.85rem, 8px);
  font-family: var(--fontRegular);
  font-weight: 400;
  color: var(--colorBrandNeutral);
}

/* ---------------Responsive------------------------- */

@media only screen and (min-width: 412px) and (max-height: 767px) and (orientation: landscape) {
  [data-theme~="poi-popup-tippy"] .tippy-content {
    width: 130px !important;
  }
  .tippy-box[data-theme~="poi-popup-tippy"] {
    width: fit-content !important;
  }
}
@media only screen and (min-width: 992px) {
  .tippy-box {
    max-width: 392px !important;
  }
}
@media (min-width: 1024px) {
  .tippy-box {
    padding: 1rem !important;
  }
}
