body,
html {
  margin: 0;
  padding: 0;
font-family: 'Cinzel', serif;
  height: 100%;
  /* padding-top: 80px; */
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  background-color: var(--color-secondary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.8);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 24px;
  color: var(--color-primary);
  letter-spacing: 1.2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--color-accent);
}

/* Main Content */
.store-locator-wrapper {
  width: 100vw;
  padding: 32px 48px;
  margin: 0;
  box-sizing: border-box;
}


.title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 28px;
   color: #fff;
  text-align: center;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  align-items: center;
  justify-content: center;
}

.state-pills button {
  padding: 10px 22px;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  background: var(--color-secondary);
  font-size: 14px;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 600;
}

.state-pills button.active,
.state-pills button:hover {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

#search-input {
  flex: 1;
  padding: 12px 20px;
  font-size: 15px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  outline: none;
  min-width: 250px;
  background-color: var(--color-secondary);
  color: var(--color-text);
  transition: border-color 0.3s ease;
}

#search-input::placeholder {
  color: var(--color-text-secondary);
}

#search-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 6px var(--color-accent);
}

.locator-container {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
  background: var(--color-secondary);
  height: 600px;
}

.map-container {
  flex: 1.3;
  background: #000;
}

#map-frame {
  width: 100%;
  height: 100%;
  border: none;
}

.store-cards {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 24px;
  overflow-y: auto;
  background: var(--color-secondary);
}

.store-cards li {
  border: 1px solid var(--color-border);
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  background: var(--color-card-bg);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.store-cards li:hover {
  background: #fff;
  color: #070707; 
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(171, 175, 184, 0.4);
}

.store-cards li.selected {
  background: #2c3e50;  /* darker blue background */
  color: #e1e8f0;       /* lighter text */
  border: 2px solid #a3cef1;
  transform: translateY(-3px);
  box-shadow: 0 0 8px #a3cef1;
}

.store-cards li.selected strong,
.store-cards li.selected small {
  color: #e1e8f0;
}

.store-cards strong {
  font-size: 18px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.store-cards small {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.store-cards .store-icons {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-accent);
  display: flex;
  gap: 14px;
  align-items: center;
}

/* Footer */
.footer {
  background-color: var(--color-secondary);
  color: var(--color-text-secondary);
  text-align: center;
  padding: 16px 0;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.8);
}

/* Responsive */
@media (max-width: 1024px) {
  .locator-container {
    flex-direction: column;
    height: auto;
  }

  .map-container {
    height: 300px;
  }

  .store-cards {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .store-locator-wrapper {
    padding: 0 16px 32px;
  }

  .title {
    font-size: 28px;
  }

  .controls {
    flex-direction: column;
    align-items: stretch;
  }

  #search-input {
    width: 100%;
  }

  .store-cards li {
    padding: 14px 16px;
  }

  .store-cards strong {
    font-size: 16px;
  }

  .store-cards small {
    font-size: 13px;
  }

  .store-icons {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 24px;
    text-align: center;
  }

  .controls {
    gap: 10px;
  }

  .state-pills {
    justify-content: center;
    flex-wrap: wrap;
  }

  .state-pills button {
    font-size: 13px;
    padding: 8px 14px;
  }

  .store-cards {
    padding: 16px 12px;
  }

  .store-cards li {
    font-size: 14px;
  }

  #map-frame {
    height: 250px;
  }
}
.map-inline {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
  .map-container {
    display: none;
  }
}
