body{
  padding-bottom: 10px;
}

/* Background Section for Store */
.store-section {
  background-image: url(''); /* Replace with actual repeating pattern URL */
  background-repeat: repeat;
  background-size: 300px 300px;
  padding: 0%;
}

.store-banner {
  background: linear-gradient(90deg, #007bff, #0056b3, #003f8c);
  background-size: 300% 100%;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  height: 40vh;
  display: flex;
  align-items: center;
  animation: gradient-animation 4s infinite alternate;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.store-banner-content {
  max-width: 1000px;
  margin: 0 auto;
}

.store-banner-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0px;
  color: #f1f1f1;
  line-height: 1.1;
}

.store-banner-subtitle {
  font-size: 1.7rem;
  color: #e0e7f7;
  margin-bottom: 16px;
  font-weight: 500;
  line-height: 1.1;
}

.store-banner-text {
  font-size: 2rem;
  margin-bottom: 24px;
  text-align: center !important;
}

.store-banner-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #fff;
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
  margin: 20px auto;
}

.store-banner-button:hover {
  background-color: #0056b3;
  color: #fff;
}

/* Main Container for Store Content */
.store-container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 20px;
  opacity: 1;
}

/* Card for Filter Inputs (Select2 and Search) */
.store-filter-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #0056b3;
  margin-bottom: 20px;
}

.filter-container {
  flex-grow: 1;
}

/* Select and Input Fields */
.store-select, .store-search-input {
  flex: 1 1 auto;
  min-width: 200px;
  margin: 0;
}

.select2-container--default .select2-selection--single {
  height: 45px;
  line-height: 45px;
}

.select2-container--default .select2-search--dropdown {
  padding: 0 10px;
}

.select2-container--default .select2-selection__rendered {
  padding-left: 10px;
  margin-top: 7px;
}

.select2-selection__arrow {
  top: 12px !important;
  margin-right: 5px;
}

.select2-selection__clear {
  margin-right: 5px;
}

.store-search-input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
  height: 45px;
}

/* Store Grid Section */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

/* For large screens (e.g., >= 1024px), force 4 columns per row */
@media (min-width: 1024px) {
  .store-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Store Card Styles */
.store-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 20px;
}

.store-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.store-card-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, #f5f8ff 60%, #eaf0fa 100%);
  padding: 18px 0 8px 0;
  min-height: 110px;
  border-bottom: 1px solid #f0f0f0;
}

.store-card-image img {
  max-width: 90px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(52,85,139,0.08));
  border-radius: 8px;
  background: transparent;
}

.store-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}

.store-card-header {
  padding-bottom: 15px;
  margin-bottom: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.store-card-header:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #34558b;
}

.store-card-name {
  font-size: 20px;
  font-weight: 700;
  color: #34558b;
  margin: 0 0 5px 0;
  line-height: 1.3;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(52, 85, 139, 0.1);
  color: #34558b;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
  align-self: flex-start;
  letter-spacing: 0.3px;
}

.store-card-details {
  flex: 1;
  margin-bottom: 18px;
  padding-left: 10px;
  border-left: 2px solid rgba(52, 85, 139, 0.2);
}

.store-address {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #555;
}

.store-address i {
  color: #0056b3;
  font-size: 18px;
  margin-top: 2px;
}

.store-address p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.store-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  min-height: 40px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.store-card-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: linear-gradient(90deg, #0056b3, #34558b);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 86, 179, 0.3);
}

.store-card-button:hover {
  background: linear-gradient(90deg, #34558b, #0056b3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.4);
  color: #fff;
}

.filter-title {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
  text-align: center;
  letter-spacing: 0.2px;
  width: 100%;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
  .store-filter-card {
    flex-direction: column;
    align-items: stretch;
  }

  .store-select, .store-search-input {
    width: 100%;
    margin-bottom: 10px;
  }

  .store-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    padding: 10px;
  }

  .store-card-content {
    padding: 15px;
  }

  .store-card-name {
    font-size: 16px;
  }

  .store-card-image img {
    max-width: 60px;
    max-height: 50px;
  }

  .store-banner-title {
    font-size: 2rem;
  }
  .store-banner-subtitle {
    font-size: 1.1rem;
  }
  .filter-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
    text-align: center;
  }
}