/* ---------- Layout: full-height section offset by Avada header ---------- */
:root {
  --header-h: 0px;
} /* JS sets this based on .fusion-tb-header height */

.guardian-map {
  min-height: calc(100dvh - var(--header-h, 0px));
  height: calc(100dvh - var(--header-h, 0px));
  display: flex;
  flex-direction: column;
	position:relative;
}
#wdst-map-description {
	box-shadow: 0px 3px 11px #b7b7b7;
	background:#f2f2f2;
	z-index:9;
	padding:0px 30px;
}
#wdst-map-description div {
	line-height:22px;
	padding:9px 0px;
	text-align:center;
	margin:0px auto;
	max-width:1560px;
}
#wdst-map-description strong {
	font-weight:700;
}
.flex-end {
  justify-items: flex-end;
}
#wdst-size-and-type-menus {
  max-width: 590px;
  right: 10px;
}
#wdst-filters-nav .location-live-search {
  border: 2px solid #001689;
}
#wdst-filters-nav .location-search-wrapper {
	max-width : 100%;
}
#wdst-filters-nav .location-search-wrapper button {
  border-radius: 20px;
  min-height: 40px;
  min-width: 40px;
}
#wdst-filters-nav .location-search-wrapper input[type="text"] {
  padding: 5px 10px;
  height: 40px;
  width:100%;
}
#wdst-size-and-type-menus > div {
  display: flex;
}
.wdst-sort-options {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;

  background: #fff;
  box-shadow: 0 0.2rem 1.2rem rgba(87, 102, 117, 0.5);
  position: absolute;
  display: none;
  padding: 20px;
  z-index: 999;
  margin: -5px 0px 0px 0px;
}
.wdst-filter-close,
#wdst-clear-sizes-and-types {
  border-radius: 20px !important;
  line-height: 20px !important;
  padding: 10px 40px !important;
  margin: 15px 0px 0px 0px !important;
}
.wdst-filter-close {
  margin: 15px 0px 0px 5px !important;
}
#wdst-size-menus label strong svg {
  position:absolute;
  height:20px;
  width:20px;
  right:0px;
transition : all 0.4s;
}
#wdst-size-menus label.checked strong svg {
  rotate:180deg;
}
#wdst-sort-menus .wdst-filter-close {
  background:#fff;
  position:absolute;
  right:0px;
  top:0px;
  margin:0px !important;
  padding:0px !important;
  border-radius:0px !important;
  box-shadow:0px 0px 10px rgba(0,0,0,0.10);
}
#wdst-sort-menus .wdst-filter-close svg {
  display:block;
  width:20px;
  height:20px;
}

#wdst-size-menus {
  border-right: solid 1px #001689;
  padding: 0px 20px 0px 0px;
}
#wdst-type-menus {
  border-left: solid 1px #001689;
  padding: 0px 0px 0px 20px;
}
#wdst-type-menus > ul,
#wdst-size-menus > ul {
  flex-direction: column;
  display: flex;
  gap: 10px;
}
#wdst-other-items {
  /*display: none;*/
}
.wdst-sort-options ul {
  margin: 0px !important;
}
.wdst-sort-options li > ul {
  display: none;
  padding: 0px !important;
}
.wdst-sort-options li {
  padding: 0px !important;
}
.wdst-sort-options li > ul > li {
  padding: 5px 0px 0px 0px !important;
}
.wdst-sort-options li:before {
  display: none;
}
.wdst-sort-options h4 {
  text-transform: uppercase;
  margin: 0px 0px 10px 0px;
}
#wdst-size-menus label {
  position: relative;
  display: flex;
  padding: 0px 0px 0px 30px;
  cursor: pointer;
}
#wdst-type-menus label:before,
#wdst-size-menus label:before {
  position: absolute;
  content: "";
  border: 2px solid #001689;
  height: 16px;
  width: 16px;
  left: 0px;
  top: 0px;
}
#wdst-type-menus label:after,
#wdst-size-menus label:after {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640" height="16px" width="16px"><path fill="%23001689" d="M530.8 134.1C545.1 144.5 548.3 164.5 537.9 178.8L281.9 530.8C276.4 538.4 267.9 543.1 258.5 543.9C249.1 544.7 240 541.2 233.4 534.6L105.4 406.6C92.9 394.1 92.9 373.8 105.4 361.3C117.9 348.8 138.2 348.8 150.7 361.3L252.2 462.8L486.2 141.1C496.6 126.8 516.6 123.6 530.9 134z"/></svg>')
    no-repeat center center;
  position: absolute;
  display: none;
  content: "";
  height: 20px;
  width: 20px;
  left: 0px;
  top: 0px;
}
#wdst-type-menus label {
  position: relative;
  padding: 0px 0px 0px 25px;
  cursor: pointer;
}
#wdst-type-menus label:after,
#wdst-type-menus label:before {
  top: 0px;
}
#wdst-size-menus li > ul label:after,
#wdst-size-menus li > ul label:before {
  top: 0px;
}
#wdst-type-menus label.checked:after,
#wdst-size-menus label.checked:after {
  display: block;
}
#wdst-type-menus label input,
#wdst-size-menus label input {
  display: none;
  margin: 0px;
}
#wdst-size-menus label span,
#wdst-size-menus label strong {
  line-height: 20px;
  display: block;
}
#wdst-size-menus label span {
  font-size: 11px;
}
#wdst-sort-menus {
  right: 10px;
}
#wdst-sort-menus input {
  margin: 0px;
}
#wdst-sort-menus label {
  display: flex;
  cursor: pointer;
}
#wdst-sort-menus label strong {
  padding: 0px 0px 0px 10px;
}
#wdst-sort-menus label span {
  padding: 0px 0px 0px 5px;
}
#wdst-filters-nav {
  display: flex;
  padding: 0px 10px;
  margin: 10px 0px;
  gap: 5px;
}
#wdst-filters-nav a {
  text-transform: uppercase;
  border-radius: 28px;
  font-weight: 700;
  line-height: 28px;
  display: flex;
  padding: 8px 20px;
  border: solid 2px #001689;
  color: #001689;
  gap: 10px;
}
#search-this-area {
  display: none;
  background: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: absolute;
  top: 20px;
  color: #000;
}
#wdst-filters-nav a:hover {
  border: solid 2px #fd8204;
}
#wdst-filters-nav a#wdst-filters-button {
  max-width: 139px;
  min-width: 139px;
}
#wdst-filters-nav a#wdst-sort-button {
  max-width: 121px;
}
#wdst-filters-nav svg {
  height: 28px;
  width: 24px;
}

/* Map filters now live inside the list; styling unchanged */
.map-filters {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: flex-start;
  background: #f9f9f9;
  align-items: center;
  padding: 0 15px;
}
.wdst-unit-type-grid ul {
  display: flex;
  flex-direction: column;
}
.wdst-sort-filter-bar {
  padding: 0px 10px;
}
.map-filters2 {
  display: flex;
}
.map-filters2 > div {
  flex-grow: 1;
}
.wdst-filter-button {
  display: flex;
  gap: 10px;
}
.guardian-map .map-filters h1 {
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  color: #000;
}
.map-filters .wdst-search-form {
  padding: 10px 15px;
}
#wdst-filters-nav .wdst-search-form {
  flex-grow: 1;
}
.map-filters .location-search-wrapper {
  border: 1px solid #52535a;
  width: 400px;
  max-width: 100%;
  align-items: center;
  margin-left: 0;
}
.map-filters .location-search-wrapper input[type="text"] {
  font-weight: 700;
}

/* ---------- Selects ---------- */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  white-space: nowrap;
  border: 0;
}
.wdst-select-field {
  padding: 10px 15px;
}
.wdst-select-wrap {
  position: relative;
  display: inline-block;
  width: 500px;
  max-width: 100%;
}
.wdst-region-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 14px 44px 10px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  background: #fff;
  border: 1px solid #52535a;
  border-radius: 50px;
  color: #000;
  cursor: pointer;
  height: 54px;
}
.wdst-region-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 22, 137, 0.2);
}
.wdst-select-wrap::after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
  color: #001689;
}
#wdst-location-filter {
  background: rgba(255, 255, 255, 0.8);
  overflow: auto;
  position: absolute;
  padding: 20px;
  height: 100%;
  right: -250px;
  width: 250px;
  top: 0px;
}
#location-filter-small > h4,
#location-filter-large > h4,
#location-filter-medium > h4 {
  margin: 0px;
}
#location-filter-small > div,
#location-filter-large > div,
#location-filter-medium > div {
  display: none;
}
#location-filter-small ul,
#location-filter-large ul,
#location-filter-medium ul {
  flex-wrap: wrap;
  display: flex;
  margin: 0px;
}
#location-filter-small ul > li,
#location-filter-large ul > li,
#location-filter-medium ul > li {
  padding: 0px;
  width: 50%;
}
#location-filter-small ul > li:before,
#location-filter-large ul > li:before,
#location-filter-medium ul > li:before {
  display: none;
}
#guardian-map-loader {
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0px;
  top: 0px;
  display:none;
}
#guardian-map-loader .lds-ring {
  position: absolute;
  display: block;
  height: 80px;
  margin: -40px 0px 0px -40px;
  width: 80px;
  left: 50%;
  top: 50%;
}
#guardian-map-loader .lds-ring div {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;

  -webkit-animation: guardian-lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1)
    infinite;
  -moz-animation: guardian-lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  animation: guardian-lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;

  position: absolute;
  display: block;
  border: 8px solid #fff;
  border-color: #fff transparent transparent transparent;
  height: 64px;
  margin: 8px;
  width: 64px;
}
#guardian-map-loader .lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
#guardian-map-loader .lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
#guardian-map-loader .lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes guardian-lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .wdst-select-field {
    padding: 10px;
    max-width: 100%;
  }
  .map-filters .wdst-search-form {
    max-width: 100%;
  }
}

/* ---------- Map + List columns ---------- */
.wdst-map-container {
  display: flex;
  border: 1px solid #ddd;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0; /* allow children to scroll */
}

/* Location List */
.wdst-location-list {
  width: 40%;
  height: 100%;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: auto;
	z-index:99;
}
.location-items {
  padding: 0 10px;
}

/* Location card (used in list and in bubble clone) */
.wdst-location-link {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #eee;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
  margin: 5px 0;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
}
.wdst-location-link:hover {
  background: #f1f1f1;
}
.wdst-location-link.active {
  background: #e6f4ff;
  border-left: 4px solid #007cba;
  font-weight: bold;
}

.wdst-location-media {
  width: 40%;
  margin-bottom: 0;
  aspect-ratio: 4.5/2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wdst-location-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wdst-location-details {
  width: 60%;
  padding: 4px 15px 10px;
}

.wdst-location-link .location-name {
  font-weight: 800;
  color: #001689;
  margin-bottom: 5px;
  font-size: 16px;
}
.wdst-location-link .wdst-review-inline {
  display: inline-block;
  margin-left: 6px;
  font-weight: 700;
  font-size: 12px;
}

.side-card-bot {
  display: flex;
}
.wdst-location-link .sizes-available {
  width: 50%;
  margin: 0 0 5px;
  display: flex;
  flex-direction: column;
}
.wdst-location-link .sizes-available li {
  line-height: 0;
  margin-bottom: 2px;
}

.wdst-location-link .wdst-location-address,
.wdst-location-link .wdst-location-phone {
  margin-bottom: 0;
  font-size: 13px;
}

.wdst-location-link .wdst-location-phone {
  padding-left: 20px;
  position: relative;
  margin-bottom: 5px;
}
.wdst-location-link .wdst-location-phone:before {
  content: "\f879";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #001689;
}

.wdst-location-link .wdst-location-address {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  align-items: flex-start;
}
.wdst-location-link .wdst-location-address .address-label {
  display: block;
  width: 70%;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.wdst-location-link .wdst-location-address .address-label:before {
  content: "\f3c5";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #001689;
}
.wdst-location-link .wdst-location-address .distance {
  background-color: rgb(0 22 137 / 17%);
  padding: 0 7px;
  border-radius: 50px;
  color: #001689;
  font-size: 11px;
  font-weight: 700;
}

.wdst-location-phone {
  margin-bottom: 3px;
}
.link-to-location {
  width: 50%;
}
.link-to-location a {
  display: block;
  background-color: #fd8204;
  color: #fff;
  text-align: center;
  border-radius: 3px;
  padding: 2px 10px;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
}
.wdst-location-link .lp {
  font-size: 13px;
  line-height: 1.3;
}
.wdst-location-link .lp .size-label {
  font-weight: 800;
}
.wdst-location-link .lp .starting-at-price {
  font-weight: 800;
  padding: 0px 0px 0px 5px;
}

/* ---------- Map panel (desktop) ---------- */
#wdst-google-map {
  position: sticky !important; /* keep sticky on desktop */
  align-self: flex-start;
  width: 60%;
  height: 100% !important;
  /* also acts as positioned ancestor for the anchored bubble */
  /* (removed duplicate position: relative to avoid overriding sticky) */
}

/* ---------- (Legacy) InfoWindow (harmless to keep) ---------- */
.wdst-infowindow {
  max-width: 320px;
  font-family: Arial, sans-serif;
}
.wdst-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}
.wdst-review {
  color: #ff9900;
  font-weight: bold;
}
.wdst-price {
  font-weight: bold;
  color: #2c7b2f;
  text-align: right;
}
.wdst-bottom-row {
  display: flex;
  align-items: flex-start;
}
.wdst-bottom-row img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-right: 10px;
  border-radius: 8px;
}
.wdst-infowindow-content h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
}
.wdst-infowindow-content p {
  margin: 0;
  font-size: 13px;
}

/* Google Maps InfoWindow overrides */
.gm-style-iw {
  padding: 0 !important;
  overflow: hidden !important;
}
.gm-style-iw-chr {
  display: none !important;
}
.gm-style-iw-tc,
.gm-style-iw-c {
  padding: 0 !important;
}
.gm-ui-hover-effect {
  top: 5px !important;
  right: 5px !important;
}
.gm-ui-hover-effect > span {
  background: transparent !important;
}
.gm-style .gm-style-iw-c {
  box-shadow: none !important;
  border-radius: 8px !important;
}

/* Misc */
.wdst-child-term-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
}
.price-marker-label {
  background: #fff;
  border: 2px solid #001689;
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 13px;
  font-weight: bold;
  color: #001689;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}
.price-marker-label:hover {
  background: #fd8204;
  color: #fff;
  border-color: #fd8204;
}

/* This gets toggled by JS when it appends extra-nearby results */
.wdst-nearest-heading {
  text-align: center;
  display: none !important;
}

/* ---------- Slider (list & bubble) ---------- */
.wdst-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px 0 0 10px;
}
.wdst-slides {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 300ms ease;
  will-change: transform;
  height: 100%;
}
.wdst-slide {
  flex: 0 0 100%;
  height: 100%;
}
.wdst-slide-img,
.wdst-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wdst-slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  line-height: 1;
}
.wdst-prev {
  left: 8px;
}
.wdst-next {
  right: 8px;
}
.wdst-slide-nav:disabled {
  opacity: 0.5;
  cursor: default;
}
.wdst-slider[data-count="1"] .wdst-slide-nav {
  display: none;
}

/* ---------- Anchored bubble inside the map ---------- */
.wdst-bottom-bubble {
  position: absolute;
  z-index: 1000;
  pointer-events: auto;
  width: 700px;
  max-width: 90%;
  /* JS sets left/top dynamically to anchor under the marker */
}
.wdst-bottom-bubble .wdst-bubble-inner {
  width: 100%;
  max-width: none;
  margin: 0;
}
.wdst-bottom-bubble .wdst-location-link {
  margin: 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.wdst-bubble-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.wdst-map-overlay {
  display: none;
}

/* ---------- Responsive ---------- */
@media (min-width: 769px) {
  /*
	.location-items {
    display: flex !important;
    flex-direction: column;
  }
	*/
}
@media (max-width: 768px) {
  #wdst-map-description {
    display:none;
  }
  #wdst-filters-nav {
    justify-content: center 
  }
  #wdst-filters-nav > div {
    width : calc(50% - 5px);
  }
  #wdst-filters-nav > div > a {
    width : 100%;
    max-width:100% !important;
  }
  #wdst-filters-nav .wdst-search-form {
    width : 100%;
  }  
  #wdst-sort-menus {
    right:auto !important;
    left:calc(50% + 3px) !important;
  }
}
@media (max-width: 520px) {
  .side-card-bot {
    flex-wrap:wrap;
  }
  .side-card-bot > ul ,
  .side-card-bot > div {
    width : 100% !important;
  }
  #wdst-type-menus ,
  #wdst-size-menus {
    width : 50%;
  }
  #wdst-type-menus label {
    font-size:13px;
  }
}

@media (max-width: 1024px) {
  #wdst-filters-nav {
    flex-wrap:wrap;
  }
  #wdst-filters-nav .wdst-search-form {
    width : 100%;
  }
  #wdst-sort-menus {
    right:auto;
    left:155px;
  }
}
/* ===== Mobile overlay & floating button ===== */
@media (max-width: 768px) {
  .guardian-map {
    height: auto !important;
    min-height: auto !important;
  }

  .map-filters {
    flex-direction: column;
  }

  /* Hide inline/embedded map on mobile */
  #wdst-google-map {
    display: none !important;
    position: static !important;
    width: 100%;
    height: 0 !important;
    z-index: 0;
    top: 0 !important;
  }
  #wdst-google-map iframe {
    width: 100%;
    height: 100%;
    display: block;
  }

  .wdst-map-container {
    display: block;
    position: relative;
    height: auto;
    min-height: 0; /* keep for safety */
  }

  .guardian-map .map-filters h1 {
    margin: 10px 0 0;
  }

  .wdst-location-list {
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 20;
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    max-height: calc(100dvh - var(--header-h, 0px));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: unset;
    max-height: none;
    overflow: visible; /* ← remove the inner scroller */
    -webkit-overflow-scrolling: auto; /* avoid momentum scroll on iOS */
    padding-bottom: 72px; /* space for the fixed "VIEW MAP" button */
  }
  .wdst-location-list.active {
    transform: translateY(0);
  }

  .location-items {
    flex-direction: column;
  }
  .wdst-location-media {
    width: 35%;
  }
  .wdst-location-details {
    width: 65%;
  }
  .wdst-location-link .location-name {
    margin-bottom: 2px;
    font-size: 12px;
  }
  .wdst-review-inline {
    margin-left: 0;
    font-size: 9px;
  }
  .wdst-location-link .wdst-location-address .distance {
    font-size: 9px;
  }
  .wdst-location-link .lp {
    font-size: 9px;
  }
  .wdst-location-link .wdst-location-address,
  .wdst-location-link .wdst-location-phone {
    font-size: 9px;
  }
  .link-to-location a {
    font-size: 9px;
  }

  /* Floating "View Map" button */
  .wdst-view-map-btn {
    position: fixed;
    left: 50%;
    bottom: 70px;
    transform: translateX(-50%);
    z-index: 1001;
    padding: 12px 18px;
    font-weight: 800;
    font-size: 14px;
    border-radius: 999px;
    border: 0;
    letter-spacing: 1px;
    background: #001689;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    cursor: pointer;
  }
  .wdst-view-map-btn:active {
    transform: translateX(-50%) scale(0.98);
  }

  /* Full-height overlay below header */
  .wdst-map-overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h, 0px); /* start below header */
    height: calc(100dvh - var(--header-h, 0px)); /* fill remaining viewport */
    z-index: 9990; /* keep header above if its z-index is higher */
    background: #fff;
    display: none; /* .open toggles visibility */
    flex-direction: column; /* header + body */
  }
  .wdst-map-overlay.open {
    display: flex;
  }

  /* Overlay top bar */
  .wdst-map-overlay__header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 12px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
  }
  .wdst-map-overlay__close {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    font-size: 20px;
    background: #000;
    color: #fff;
  }
  .wdst-map-overlay__form {
    flex: 1 1 auto;
    border: 2px solid #000;
    border-radius: 50px;
  }

  /* Map area (takes the rest of overlay) */
  .wdst-map-overlay__body {
    flex: 1 1 auto;
    min-height: 0; /* allow child to grow */
    position: relative; /* safe anchor for any absolutely positioned children if needed */
  }
  .wdst-map-overlay__body #wdst-google-map {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important; /* provides positioned ancestor for anchored bubble */
  }

  /* Bubble stays anchored by JS; keep only size constraints here */
  .wdst-bottom-bubble {
    width: 700px;
    max-width: 90%;
  }

  .wdst-map-overlay__form .location-live-search {
    width: 100%;
  }
  .wdst-map-overlay__form input[type="text"] {
    width: 100%;
    font-size: 14px;
  }
}

.fusion-tb-footer {
  z-index: 1;
  position: relative;
}

body.wdst-map-open .wdst-view-map-btn {
  display: none !important;
}

.wdst-footer-buttons {
  padding: 12px 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid #ddd;
  background: #f9f9f9;
  justify-content: center;
}

.wdst-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #001689;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.wdst-footer-btn:hover {
  background: #fd8204;
  color: #fff;
}

.wdst-gallery-count {
  display: none;
}
