* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}
body {
  background: #ffffff;
}

.page-main-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  padding: 25px 0 4px;
  letter-spacing: -0.5px;
}
.page-subtitle {
  text-align: center;
  font-size: 14px;
  color: #666;
  padding-bottom: 20px;
}

.locator-layout {
  position: relative;
  display: flex;
  height: calc(100vh - 84px);
  flex-direction: row-reverse;
  max-width: 1400px;
  margin: 42px auto;
  border-radius: 12px;
  overflow: hidden;
}
.map-pane {
  flex: 1;
  height: 100%;
  background: #eaeaea;
}
.sidebar-pane {
  position: absolute;
  top: 50%;
  left: 23px;
  width: 480px;
  height: calc(100% - 70px);
  display: flex;
  flex-direction: column;
  z-index: 10;
  background: #ffffff;
  transform: translateY(-50%);
  padding: 24px;
  border-radius: 12px;
}

.sidebar-header {
  padding: 0px 8px;
}
.sidebar_heading {
    font-weight: 600;
    font-size: 24px;
    line-height: 110.00000000000001%;
    letter-spacing: -2%;
    margin-bottom: 8px;
    color: #101828;
}

.sidebar_text {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #4D4D4D;
    margin-bottom: 24px;
}
.search-wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  align-items: center;
}
#search-input {
  flex: 1;
  font-size: 14px;
  height: 52px;
  outline: none;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: -5%;
  border: 1px solid #EAECF0;
  background: #F9FAFB;
  border-radius: 12px;
  color: #4D4D4D;
  color-scheme: light;
}
#search-input .dropdown {
    background: #F9FAFB;
    border-radius: 12px;
    color: #4D4D4D;
}

.locate-btn {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.locate-btn:hover {
  background: #f9f9f9;
}

.location-banner {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #611a15;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 15px;
}

/* City/category chips — built dynamically from live data, so only generic
   button/active styling lives here (no city names hardcoded). */
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -32px 36px;
  padding: 0 32px;
}
.filters::-webkit-scrollbar {
    display: none;
}
.filters button {
  padding: 10px 16px;
  border: 1px solid #EAECF0;
  background: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  transition: all 0.2s;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.42;
    letter-spacing: -5%;
    text-transform: uppercase;
    color: #4D4D4D;
}
.filters button.active {
  background: #101828;
  color: #ffffff;
  border-color: #101828;
}

.toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.status-info {
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: -5%;
  text-transform: uppercase;
  color: #667085;
}

.sort-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 11px;
  line-height: 100%;
  letter-spacing: -5%;  
  text-transform: uppercase;
  background: transparent;
  outline: 0;
  border: 0;
  color: #175CD3;
  cursor: pointer;
}
.sort-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.sort-chip .chevron {
  font-size: 10px;
}

.toggles-row {
  margin-bottom: 5px;
}
.toggle-chip {
  padding: 7px 14px;
  border: 1px solid #dcdcdc;
  background: #ffffff;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}
.toggle-chip[aria-pressed="true"] {
  background: #000;
  color: #fff;
  border-color: #000;
}

.no-results {
  text-align: center;
  padding: 30px 15px;
  color: #555;
}
.clear-btn {
  margin-top: 10px;
  padding: 8px 18px;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.stores-container {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px 0 0;
}

.stores-container::-webkit-scrollbar {
    width: 4px;
    background-color: #F7F7F7;
    border-radius: 4px;
}
.stores-container::-webkit-scrollbar-thumb {
    background-color: #737373;
    border-radius: 4px;
}

.store-card {
  margin: 0 0 24px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.store-card:last-child {
    margin-bottom: 0px;
}
.store-card.highlight {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #4D4D4D;
}

.store-card img {
  width: 100%;
  height: 224px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
  display: block;
}
.no-image-placeholder {
    display: none;
}

.store-title {
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: -5%;
  color: #181818;
  margin-bottom: 4px;
}
.store-address {
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0%;
  margin-bottom: 8px;
  color: #4D4D4D;
}
.store-meta {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0%;
  color: #737373;
}

.status-open {
  color: #2e7d32;
  font-weight: 600;
}
.status-closed {
  color: #d32f2f;
  font-weight: 600;
}
.status-unknown {
  color: #757575;
  font-weight: 600;
}

.missing-coords {
  color: #cc0000;
  font-size: 12px;
  display: block;
  margin-top: 10px;
}

.directions-link {
  display: inline-block;
  color: #175CD3;
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes popIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-icon {
  font-size: 45px;
  margin-bottom: 12px;
}
.modal-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #000;
}
.modal-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-allow {
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-allow:hover {
  background: #333333;
}

.btn-manual {
  background: #ffffff;
  color: #000000;
  border: 1px solid #dddddd;
  padding: 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-manual:hover {
  background: #f5f5f5;
}
.mobile_sidebar {
  padding: 0 20px;
}
.store-meta span {
  display: flex;
}

@media (min-width: 750px) {
    .mb_show {
        display: none !important;
    }
}
@media (max-width: 749px) {
  .dk_show {
    display: none !important;
  }
  .locator-layout {
    flex-direction: column;
    height: auto;
  }
  .map-pane {
    height: 45vh;
    flex: none;
  }
  .sidebar-pane {
    width: 100%;
    position: unset;
    transform: none;
    padding: 24px 20px;
  }
  .locator-layout {
    border-radius: 0px;
  }
  .sidebar-header {
    padding: 0px;
  }
  .filters {
    margin: 0 -20px 24px;
  }
  .sidebar_heading {
    font-size: 20px;
  }
  .sidebar_text,
  .status-info {
    font-size: 12px;
  }
  #search-input {
    font-size: 12px;
    height: 42px;
  }
  .search-wrapper {
    margin-bottom: 12px;
  }
  .filters button {
    padding: 8px 16px;
  }
  .toolbar-row {
    margin-bottom: 24px;
  }
  .store-card {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
  }

  .store-card img {
    width: 124px;
    height: 143px;
    border-radius: 8px;
    margin: 0;
  }

  .store_item_details {
    flex: 1;
  }

  .store-title {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .stores-container {
    padding-right: 0px;
  }

}