#top-slider {
  --hero-slider-ratio-w: 21;
  --hero-slider-ratio-h: 9;
  --hero-stage-height: min(80vh, 760px);
  --hero-stage-min-height: 480px;
  --p2-pad: clamp(20px, 5vw, 92px);
  --p2-green: #00d200;
  --p2-red: #ff3e41;
  margin-top: 74px;
}

#top-slider .swiper {
  width: 100%;
  max-width: none;
  height: var(--hero-stage-height);
  min-height: var(--hero-stage-min-height);
  aspect-ratio: var(--hero-slider-ratio-w) / var(--hero-slider-ratio-h);
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

#top-slider .swiper-wrapper {
  height: 100%;
}

#top-slider .swiper-slide {
  height: 100%;
  aspect-ratio: var(--hero-slider-ratio-w) / var(--hero-slider-ratio-h);
  background: #e2e8f0;
}

#top-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}

#top-slider .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

#top-slider .hero-product-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: var(--hero-slider-ratio-w) / var(--hero-slider-ratio-h);
  overflow: hidden;
}

#top-slider .hero-slide-image {
  width: 100%;
  height: 100%;
  aspect-ratio: var(--hero-slider-ratio-w) / var(--hero-slider-ratio-h);
  object-fit: cover;
}

#top-slider .hero-product-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

#top-slider .hero-product-link .p2-status-badge {
  right: var(--p2-pad);
  bottom: 110px;
  padding: 0 16px;
  background: rgba(0, 0, 0, 0.6);
  height: 36px;
  line-height: 36px;
  border-radius: 32px;
}

#top-slider .hero-product-link .p2-stage-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 24px var(--p2-pad) 32px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  background: rgba(0, 0, 0, 0.4);
}

#top-slider .hero-product-link .p2-stage-content > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}

#top-slider .hero-product-link .p2-title-eyebrow {
line-height: 1;
  color: #00bfff;
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .1rem;
  font-weight: 600;
}

#top-slider .hero-product-link .p2-title {
  margin: 0;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 300;
  line-height: 1.08;
  font-size: clamp(28px, 5.2vw, 58px);
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#top-slider .hero-product-link .p2-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0 64px;
  position: relative;
  top: -8px;
}

#top-slider .hero-product-link .p2-price-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

#top-slider .hero-product-link .p2-price-item .value {
  position: relative;
  display: block;
  min-height: 60px;
  line-height: 64px;
  padding-left: 78px;
}

#top-slider .hero-product-link .p2-price-item .value::before {
  content: "";
  border: solid 2px rgba(255, 255, 255, 0.4);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 60px;
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  bottom: 0;
}

#top-slider .hero-product-link .p2-price-item--wholesale .value::before {
  background-image: url("/assets/icons/00bfff/pricetag-banner.svg");
}

#top-slider .hero-product-link .p2-price-item--ticket .value::before {
  background-image: url("/assets/icons/00bfff/ticket-banner.svg");
}

#top-slider .hero-product-link .p2-price-item .meta {
  order: 2;
  margin: -18px 0 0;
  line-height: 1;
  color: #00bfff;
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .1rem;
  font-weight: 600;
  width: 100%;
  text-align: left;
  padding-left: 80px;
}

#top-slider .hero-product-link .p2-price-item .value {
  order: 1;
  color: #ffffff;
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
}

#top-slider .hero-slide-image--illustration {
  object-fit: cover;
  padding: 0;
  background: transparent;
}

@supports not (aspect-ratio: 1 / 1) {
  #top-slider .swiper {
    height: var(--hero-stage-height);
    min-height: var(--hero-stage-min-height);
    max-height: none;
  }

  #top-slider .swiper-slide,
  #top-slider .hero-product-link,
  #top-slider .hero-slide-image,
  #top-slider .swiper-slide img {
    height: 100%;
  }
}

@media only screen and (max-width: 900px) {
  #top-slider {
    --hero-stage-min-height: 420px;
  }
}

html body .leaflet-bottom.leaflet-right {
  opacity: 0;
  display: none;
  margin: 0;
  padding: 0;
  font-size: 0;
}

.bsl-white-wrapper .smallTextBlack {
  padding-bottom: 0;
}

#map {
  height: 70vh;
  width: 100%;
  z-index: 1;
  transition: height 0.5s ease;
  border-radius: 0;
  margin: 0;
}

#map-filter-buttons {
  display: block;
  margin: 0;
  position: absolute;
  right: 64px;
  bottom: 24px;
  z-index: 99;
  height: 64px;
  background: rgba(255, 255, 255, .6);
  padding: 8px 10px;
  border-radius: 32px;
}

.map-filter-btn {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 0;
  font-weight: 600;
  color: #2a2a2a;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  height: 48px;
  line-height: 48px;
  display: inline-flex;
  align-items: center;
}

.map-filter-btn img {
  width: 48px;
  height: 48px;
  display: none;
}

.map-filter-btn .icon-inactive {
  display: inline-block;
}

.map-filter-btn .icon-active {
  display: none;
}

.map-filter-btn.active .icon-inactive {
  display: none;
}

.map-filter-btn.active .icon-active {
  display: inline-block;
}

.map-filter-btn.active[data-filter="products"] {
  color: #00bfff;
}

.map-filter-btn.active[data-filter="charities"] {
  color: #ff0000;
}

html body .leaflet-marker-icon {
  width: 48px !important;
  height: 48px !important;
  object-fit: cover;
  border: solid 2px #00bfff;
  padding: 2px;
  background: #fff;
  border-radius: 50%;
}

html body .leaflet-marker-icon.charity-marker {
  border-color: #ff0000;
}

html body .leaflet-left {
  right: 24px;
  left: auto;
}

html body .leaflet-top {
  bottom: 24px;
  top: auto;
}

.map-popup-title {
  margin: 10px 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f1720;
  text-align: left;
}

.map-popup-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #eaf4fb;
}

.map-popup-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}

.map-popup-live-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 32, 0.82);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.map-popup-live-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00d200;
  box-shadow: 0 0 0 rgba(0, 210, 0, 0.55);
  animation: mapPopupLivePulse 1.8s infinite;
  flex: 0 0 auto;
}

.map-popup-excerpt {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
  color: #2f3e52;
  text-align: left;
}

.map-popup-content {
  text-align: left;
}

.map-popup-content > a,
.map-popup-content > p {
  display: block;
  width: 100%;
  text-align: left;
}

.map-popup-cta.basic-submit {
  display: inline-block;
  margin: 14px 0 0 0;
  animation: mapPopupCtaBluePulse 1.5s infinite;
}

@keyframes mapPopupLivePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 210, 0, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 210, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 210, 0, 0);
  }
}

@keyframes mapPopupCtaBluePulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(0, 191, 255, 0.8);
    box-shadow: 0 0 0 0 rgba(0, 191, 255, 0.8);
  }
  70% {
    -webkit-box-shadow: 0 0 0 8px rgba(0, 191, 255, 0);
    box-shadow: 0 0 0 8px rgba(0, 191, 255, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(0, 191, 255, 0);
    box-shadow: 0 0 0 0 rgba(0, 191, 255, 0);
  }
}

.map-shell {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
}

.investor-cta {
  margin-top: 3rem;
}

@media only screen and (max-width: 960px) {
  #map {
    height: 55vh;
  }

  #map-filter-buttons {
    right: 16px;
    bottom: 16px;
  }
}

@media only screen and (max-width: 900px) {
  #top-slider .hero-product-link .p2-stage-content {
    display: block;
  }

  #top-slider .hero-product-link .p2-price-row {
    justify-content: flex-start;
    margin-top: 12px;
  }

  #top-slider .hero-product-link .p2-price-item {
    align-items: flex-start;
    text-align: left;
  }
}
