.store-locator-container {
  max-width: 1400px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.store-locator-header {
  background: linear-gradient(135deg, #2c1810 0%, #8b4513 100%);
  color: white;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.store-locator-header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.store-locator-header p {
  font-size: 1.2em;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.search-section {
  padding: 40px 40px 5px 40px;
  background: #f8f5f0;
}

.search-container {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.search-box,
.filter-select {
  padding: 12px 20px;
  border: 1px solid #d4c9b8;
  border-radius: 30px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.search-box {
  flex: 1;
  min-width: 250px;
  max-width: 450px;
}

.search-box:focus,
.filter-select:focus {
  outline: none;
  border-color: #8b4513;
  box-shadow: 0 3px 15px rgba(139, 69, 19, 0.2);
}

.filter-select {
  min-width: 130px;
  cursor: pointer;
}

.clear-btn {
  padding: 12px 25px;
  background: #8b4513;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.clear-btn:hover {
  background: #6d3610;
}

.stats {
  text-align: center;
  margin-bottom: 20px;
  font-size: 16px;
  color: #6d4c2e;
  font-weight: 500;
}

.branch-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e8e1d7;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #8b4513;
}

.branch-name {
  font-size: 1.3em;
  font-weight: 600;
  color: #2c1810;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.branch-icon {
  width: 28px;
  height: 28px;
  background: #8b4513;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.branch-details {
  color: #6d4c2e;
  line-height: 1.6;
  font-size: 14px;
  flex-grow: 1; /* Makes details take remaining space */
}

.branch-details strong {
  color: #2c1810;
  display: inline-block;
  margin-right: 5px;
  min-width: 50px;
}

.branch-details div {
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.branch-view-btn {
  margin-top: 15px;
  padding: 10px 20px;
  background: #8b4513;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.branch-view-btn:hover {
  background: #6d3610;
}

.no-results {
  text-align: center;
  padding: 50px 20px;
  color: #6d4c2e;
  font-size: 1.1em;
  width: 100%;
}

@media (max-width: 768px) {
  .search-container {
    flex-direction: column;
  }

  .search-box,
  .filter-select {
    width: 100%;
    min-width: auto;
  }

  .store-locator-header {
    padding: 30px 20px;
  }

  .store-locator-header h1 {
    font-size: 1.8em;
  }

  .search-section {
    padding: 30px 20px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.branch-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}
