/* ==========================================================================
   VENDOR CATALOGUE PAGE
   ========================================================================== */

.vendor-index { padding-top: 2rem; }

/* --- Vendor Cards --- */
.framed-light {
  position: relative;
  overflow: hidden;
  background: rgba(20, 20, 20, 0.9);
  border: 2px solid #333;
  transition: transform 0.2s, border-color 0.2s;
  z-index: 1;
}
.framed-light:hover { transform: scale(1.02); border-color: rgba(255, 255, 255, 0.5); }

.sponsor-card {
  border: 3px solid #ffcc00 !important;
  animation: sponsor-pulse 2s infinite ease-in-out;
}
@keyframes sponsor-pulse {
  0%   { box-shadow: 0 0 5px rgba(255, 204, 0, 0.4); }
  50%  { box-shadow: 0 0 20px rgba(255, 204, 0, 0.7); }
  100% { box-shadow: 0 0 5px rgba(255, 204, 0, 0.4); }
}

.vendor-logo-container {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.vendor-logo {
  max-height: 100%;
  max-width: 100px;
  object-fit: contain;
  image-rendering: pixelated;
}

.sponsor-badge {
  position: absolute;
  top: 10px;
  right: -30px;
  background: #ffcc00;
  color: #000;
  padding: 5px 35px;
  font-size: 10px;
  font-family: 'DotGothic16', sans-serif;
  font-weight: bold;
  transform: rotate(45deg);
  z-index: 10;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.pixel-star {
  color: #ffcc00;
  font-size: 1.2rem;
  display: inline-block;
  margin: 0 5px;
  filter: drop-shadow(0 0 2px #000);
}

/* --- Search & Filter --- */
.search-filter-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  position: relative;
  z-index: 100;
}
@media (max-width: 768px) {
  .search-filter-container {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
}

.pixel-input-field {
  width: 100%;
  height: 100%;
  font-family: 'DotGothic16', sans-serif !important;
  font-size: 1.1rem;
  color: white !important;
  background-color: black !important;
  border: 3px solid #ffffff !important;
  padding: 10px 15px !important;
  box-sizing: border-box;
  text-transform: uppercase;
  cursor: pointer;
}

/* Custom dropdown */
.custom-select-wrapper { position: relative; width: 100%; }

.pixel-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: black;
  border: 3px solid #ffffff;
  z-index: 9999;
  max-height: 400px;
  overflow-y: auto;
  padding: 5px 0;
}
.pixel-dropdown-menu.show { display: block; }

.pixel-dropdown-item {
  padding: 12px 20px;
  color: white;
  font-family: 'DotGothic16', sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
}
.pixel-dropdown-item:hover {
  background: #ffcc00;
  color: black;
  padding-left: 25px;
}
