/* Store + regels search UI (Groningen-style) */

.store-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.store-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: min(100%, 16rem);
  height: 2.5rem;
  padding: 0 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.store-search--wide {
  min-width: min(100%, 20rem);
  width: 100%;
  max-width: 22rem;
}

.store-search:focus-within {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.08);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.store-search-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.55;
}

.store-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: inherit;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.store-search-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.store-search-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.65);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.store-search-filter:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.store-count-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Product cards: closer to reference */
.card-interactive {
  border-radius: 0.9rem !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: rgba(24, 24, 27, 0.72) !important;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card-interactive:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.35) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* Rules panel accordion look */
.rules-panel {
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(24, 24, 27, 0.55);
  padding: 0.25rem 1.1rem 1rem;
}

.rules-panel > h1:first-child {
  display: none;
}

.rules-panel h2,
.rules-panel h3 {
  margin: 0;
  padding: 0.95rem 0.15rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rules-panel h2:first-of-type,
.rules-panel h3:first-of-type {
  border-top: 0;
}

.rules-panel p,
.rules-panel ul,
.rules-panel ol {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 0.85rem;
  padding-left: 0.15rem;
}

.rules-panel a {
  color: #60a5fa;
}

@media (max-width: 640px) {
  .store-search,
  .store-search--wide {
    min-width: 100%;
    max-width: none;
  }

  .store-search-wrap {
    width: 100%;
  }

  .store-search-wrap .store-search {
    flex: 1;
  }
}
