.shop-header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  padding: 10px 0;
  background-color: transparent; /* kein Hintergrund nötig */
  border-bottom: none;
  font-size: x-large;
  font-weight: bold;
}
/* Vorbereitung für Logos */
.shop-header img {
  max-width: 100px;
  display: block;
  margin: 0 auto 10px;
}
.status {
  font-size: 0.85rem;
}
.status.open {
  color: green;
}
.status.closed {
  color: red;
}
/* Optional: Scrollbar schön machen (nur Webkit) */
.shop-grid::-webkit-scrollbar {
  height: 10px;
}
.site-header {
  width: 100%;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  padding: 10px 0;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  height: 80px;
}
.header-logo {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}
.header-hint {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  font-family: Arial, sans-serif;
  white-space: nowrap;
}
header {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0060aa;
  padding: 0 40px;
  border-radius: 1rem;
  overflow: hidden;
  height: auto;
  margin-bottom: 10px;

  position: sticky;
  top: 0;
  z-index: 100;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}
.header-logo-link {
  align-items: center;
  justify-content: center;
  flex: 1;
  display: flex;
  justify-content: center;
}
.header-logo {
  height: 80px; /* automatische Headerhöhe */
  object-fit: contain;
}
.header-text {
  position: absolute;
  left: 40px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  flex: 1;
  text-align: left;
}

.header-search {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.shop-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.shop-item a {
  flex-grow: 1;
}
.shop-info {
  flex-grow: 1;
}
.shop-code {
  background-color: #f5f5f5;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.7em;
  font-weight: 500;
  color: #444;
  min-width: 28px;
  text-align: center;
}
.abbreviation {
  font-size: 0.85rem;
  background-color: #e0e0e0;
  padding: 2px 6px;
  border-radius: 12px;
  color: #333;
  white-space: nowrap;
  margin-left: 10px;
}
#shopSearch {
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 14px;
  width: 220px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.legend-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 10px;
  font-size: 0.85rem;
  background-color: #f5f5f5;
  border-radius: 16px;
  margin: 10px auto;
  max-width: 95%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.legend-item {
  background-color: #ffffff;
  border: 1px solid #ddd;
  padding: 4px 8px;
  display: inline-block;
  align-items: center;
  font-weight: bold;
  border-radius: 20px;
  text-decoration: none;
  color: #000;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.legend-item:hover {
  background-color: #ccc;
  text-decoration: none;
}

.legend-abbreviation-S {
  font-weight: bold;
  color: #ff0000;
  margin-right: 4px;
}
.legend-abbreviation-TF {
  font-weight: bold;
  color: #0030cc;
  margin-right: 4px;
}
.legend-abbreviation-TH {
  font-weight: bold;
  color: #00a000;
  margin-right: 4px;
}
.legend-abbreviation-RF {
  font-weight: bold;
  color: #ffae00;
  margin-right: 4px;
}
.legend-abbreviation-D {
  font-weight: bold;
  color: #000000;
  margin-right: 4px;
}




.brand-logo {
  max-height: 80px;
  max-width: 90%;
  object-fit: contain;
  display: block;
  padding-top: 20px;
}

/* Minimalistische JAKO-Gliederung */
details[open]


/* Minimalistische JAKO-Gliederung mit gestrichelter Linie */
details {
  margin: 14px 0;
  padding: 0;
  border: none;
  background: none;
}

/* Header-Dreiteilung: links - mitte (zentriert) - rechts */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 10px 20px;
}

.header-left,
.header-center,
.header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-left {
  justify-content: flex-start;
}

.header-center {
  justify-content: center;
}

.header-right {
  justify-content: flex-end;
}

.header-link {
  color: white;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}

/* Logo-Anpassung */
.header-logo {
  height: 80px;
  object-fit: contain;
}

/* Suchfeld */
.header-search {
  display: flex;
  align-items: center;
  gap: 10px;
}

#shopSearch {
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 14px;
  width: 220px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Reset-Button wird per JS hinzugefügt */
.header-search button {
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #aaa;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Optional: Responsive Verhalten */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .header-left,
  .header-center,
  .header-right {
    justify-content: center;
  }
}

.legend-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 20px;
  background-color: #f3f3f3;
  border-bottom: 1px solid #ccc;
}

.legend-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-grow: 1;
}

.legend-item {
  padding: 6px 12px;
  border-radius: 20px;
  background-color: #e0e0e0;
  text-decoration: none;
  font-weight: bold;
  color: #000;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.legend-item:hover {
  background-color: #d0d0d0;
  text-decoration: none;
}

#resetFilterBtn {
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #aaa;
  background-color: #ffffff;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 1rem;
  font-family: inherit;
}

.dropdown-toggle {
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid #ccc;
  background-color: #ffffff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.dropdown-toggle:hover {
  background-color: #f0f0f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 100;
  min-width: 200px;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s;
}

.dropdown-menu input[type="checkbox"] {
  margin-right: 6px;
  accent-color: #0077cc;
}

.filter-dropdown.open .dropdown-menu {
  display: block;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.9rem;
  background: #f5f5f5;
  color: #333;
}

.active-filter-tag .remove {
  margin-left: 8px;
  cursor: pointer;
  font-weight: bold;
  color: #888;
}
.active-filter-tag .remove:hover {
  color: #000;
}