body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  overflow-x: hidden;
}
.suggestion-item.highlighted {
    background: #f3e8ff !important;
    font-weight: bold;
}

.banner {
  max-width: 900px;
  width: 100%;
  margin: 35px auto 0 auto;
  display: flex;
  justify-content: center;
}
.menu-item.ring {
  box-shadow: 0 0 0 3px #3b82f6 !important; /* Tailwind blue-400 */
}

.banner-img {
  width: 100%;

  display: block;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  max-width: 100%;
}

.container {
  max-width: 800px;
  margin: 40px auto 0 auto;
  padding: 0 18px 28px 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.page-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 24px 0 7px 0;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.subheading {
  text-align: center;
  color: #777;
  margin-bottom: 28px;
  font-size: 1.02rem;
}
.search-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 25px auto;  /* Center horizontally */
  display: flex;
  justify-content: center;
}

/* Input has extra right padding for the X */
.search-box input {
  width: 100%;
  padding: 12px 44px 12px 20px; /* right padding for clear btn */
  border-radius: 30px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  background: #fff;
  z-index: 1;
  position: relative;
}

/* Clear (X) Button */
#clear-search {

  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.45em;
  color: #bbb;
  cursor: pointer;
  z-index: 2;
  padding: 0 4px;
  line-height: 1;
}

.add-to-cart-btn {
  background: #1e40af;
  color: white;
  padding: 7px 20px;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.13s;
}
.add-to-cart-btn:hover {
  background: #374fcf;
}

.search-suggestions {
  position: absolute;
  top: 100%;           /* Below the input */
  left: 0;
  width: 100%;
  z-index: 10;
  background: #fff;
  border: 1px solid #ccc;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 6px 16px rgba(0,0,0,0.07);
  margin-top: 4px;
  padding: 0;
  list-style: none;
}

.search-suggestions li {
  display: flex;
  align-items: center;
  padding: 8px;
  cursor: pointer;
}
.search-suggestions li img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  margin-right: 12px;
  border-radius: 4px;
}
.search-suggestions li:hover {
  background: #f7f7f7;
}
.hidden { display: none; }


.store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) {
  .store-grid {
    grid-template-columns: 1fr;
  }
}




.store-card {
  background-color: #fff9db;
  padding: 16px 12px 15px 12px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s cubic-bezier(0.22,0.61,0.36,1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 98%;
  max-width: 335px;
}
.store-card:hover {
  transform: translateY(-4px) scale(1.03);
}
.store-name {
  font-weight: 600;
  font-size: 1.09rem;
  margin-bottom: 4px;
  text-align: center;
}
.store-card img {
  width: 240px;
  max-width: 98%;
  height: 135px;
  object-fit: cover;
  border-radius: 9px;
  margin: 11px auto 0 auto;
  display: block;
  background: #eee;
}
.store-status {
  font-size: 0.97rem;
  font-weight: 600;
  margin-top: 10px;
}
.open { color: green; }
.closed { color: red; }
.cart-button {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #1e40af;
  color: white;
  border: none;
  padding: 9px 17px;
  border-radius: 30px;
  font-size: 1.02rem;
  z-index: 200;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(30,64,175,0.10);
}
@media (max-width: 480px) {
  .cart-button {
    top: 9px;
    right: 8px;
    padding: 7px 12px;
    font-size: 0.97rem;
  }
  .banner img { height: 110px; }
}
.footer {
  text-align: center;
  padding: 18px 0 0 0;
  font-size: 0.92rem;
  color: #666;
  background-color: #f1f1f1;
  margin-top: 42px;
  border-radius: 0 0 14px 14px;
}
.footer-link { color: #666; text-decoration: underline; }


#dynamic-results.store-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

#dynamic-results .store-card {
  margin-bottom: 24px;
}

#dynamic-results .store-card {
  margin: 0 auto;
}




