.mrc-gallery-toolbar {
  max-width: 1400px;
  margin: 0 auto 1rem;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.mrc-gallery-heading {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #E6A223;
}

.mrc-gallery-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

/* Einzelner Filterblock */
.mrc-gallery-filter {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mrc-gallery-filter-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.mrc-gallery-filter-label span {
  white-space: nowrap;
}

/* Select wie die restliche Dark/Gold-Optik */
.mrc-gallery-filter-label select {
  padding: 6px 10px;
  border-radius: 9999px;
  border: 1px solid #4b5563;
  background: #0B0B0F;
  color: #e5e7eb;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  transition:
    border-color .15s ease,
    box-shadow .15s ease,
    background-color .15s ease;
}

.mrc-gallery-filter-label select:focus,
.mrc-gallery-filter-label select:hover {
  border-color: #E6A223;
  box-shadow: 0 0 8px rgba(230, 162, 35, 0.6);
  background: #111827;
}

@media (max-width: 640px) {
  .mrc-gallery-toolbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0.5rem;
  }
}



.mrc-gallery-wrap {
  max-width: 1400px;          /* etwas breiter */
  margin: 2rem auto;
  padding: 0 1rem;
}

.mrc-gallery-empty {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  background: #1E1E1E;
  border: 1px solid #0B0B0F;
  color: #e5e7eb;
  text-align: center;
}

/* Grid: größere Karten -> Bilder werden automatisch größer */
.mrc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));  /* vorher 230px */
  gap: 18px;
}

/* Karte */
.mrc-gallery-item {
  background: radial-gradient(circle at top, #27272f 0, #1E1E1E 45%, #050509 100%);
  border-radius: 14px;
  border: 1px solid #27272f;
  overflow: hidden;
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

/* Gold-Glow bei Hover */
.mrc-gallery-item::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(230, 162, 35, 0);
  box-shadow: 0 0 0 rgba(230, 162, 35, 0);
  pointer-events: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.mrc-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8);
  border-color: rgba(230, 162, 35, 0.6);
}

.mrc-gallery-item:hover::before {
  border-color: rgba(230, 162, 35, 0.9);
  box-shadow: 0 0 18px rgba(230, 162, 35, 0.7);
}

/* Bildbereich – leicht mehr padding lassen wir so */
.mrc-gallery-image {
  position: relative;
  background: radial-gradient(circle at top, #111827 0, #030712 100%);
  padding: 10px;
}

.mrc-gallery-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #0B0B0F;
}

.mrc-gallery-image-placeholder {
  height: 200px; /* etwas mehr Höhe für Platzhalter */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 0.9rem;
}

/* Meta-Bereich: Text links, Felgenbild rechts */
.mrc-gallery-meta {
  padding: 10px 12px 12px 12px;
  color: #e5e7eb;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.mrc-gallery-meta-main {
  flex: 1 1 auto;
}

/* Titel, Infos */
.mrc-gallery-title {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 600;
  color: #E6A223;
}

.mrc-gallery-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
  margin-bottom: 2px;
}

.mrc-gallery-label {
  font-weight: 600;
  color: #fbbf24;
}

.mrc-gallery-desc {
  margin: 6px 0 0 0;
  font-size: 12px;
  color: #d1d5db;
}

/* Button "Zur Felge" */
.mrc-gallery-rim-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;

  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #E6A223;
  background: #0B0B0F;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  text-decoration: none !important;

  /* smooth transitions */
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    box-shadow .2s ease,
    transform .15s ease;
}

/* Hover: gold-gelb + Glow + leichtes Anheben */
.mrc-gallery-rim-link:hover {
  background: linear-gradient(135deg, #E6A223, #FFD76A);
  border-color: #FFD76A;
  color: #111;
  box-shadow: 0 0 12px rgba(230, 162, 35, 0.9);
  transform: translateY(-1px) scale(1.02);
}

/* Active: leicht „reindrücken“ */
.mrc-gallery-rim-link:active {
  background: #D89212;
  border-color: #D89212;
  box-shadow: 0 0 6px rgba(230, 162, 35, 0.7);
  transform: translateY(0) scale(0.99);
}


/* Felgenbild rechts */
.mrc-gallery-meta-wheel {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mrc-gallery-meta-wheel img {
  width: 72px;   /* leicht größer */
  height: 72px;
  object-fit: contain;
  border-radius: 9999px;
  border: 1px solid #E6A223;
  box-shadow: 0 0 10px rgba(230, 162, 35, 0.6);
  background: radial-gradient(circle at 30% 20%, #facc15 0, #f59e0b 35%, #92400e 100%);
}

/* Responsive */
@media (max-width: 900px) {
  .mrc-gallery-grid {
    grid-template-columns: 1fr;   /* auf Tablets/klein: 1 Spalte, also richtig großes Bild */
  }
}

@media (max-width: 640px) {
  .mrc-gallery-wrap {
    padding: 0 0.5rem;
  }
  .mrc-gallery-meta {
    flex-direction: column;
    align-items: stretch;
  }
  .mrc-gallery-meta-wheel {
    justify-content: flex-start;
    margin-top: 4px;
  }
}
