.location-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 9999;
}

.location-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.location-box {
  position: relative;
  width: 90%;
  max-width: 380px;
  background: #fff;
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  z-index: 10000;
}

.location-action {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  font-size: 16px;
  cursor: pointer;
  background: #fff0e1;
  border: var(--border);
  border-radius: 4px;
  color: var(--accent-color);
}

.location-action:hover {
  background: var(--primary-color);
}

.location-dropdown {
  position: relative;
  display: inline-block;
}

.current-location {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  background: #fff0e1;
  border: var(--border);
  border-radius: 4px;
  font-family: var(--accent-font-family);
  font-size: var(--accent-font-size);
  font-weight: var(--accent-font-weight);
  color: var(--accent-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.current-location:hover {
  background: var(--primary-color);
}

.dropdown-arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.current-location.active .dropdown-arrow {
  transform: rotate(180deg);
}

.location-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff0e1;
  list-style: none;
  padding: 5px 0;
  margin: 4px 0 0 0;
  border: var(--border);
  border-radius: 4px;
  min-width: 150px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.location-menu li {
  margin: 0;
}

.location-menu button {
  display: block;
  width: 100%;
  padding: 3px 10px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--accent-color);
  font-size: var(--accent-font-size);
}

.location-menu button:hover {
  background: var(--primary-color);
}
