/* ==========================================================================
   LumeVero — MARKETPLACE CATALOGUE & CARDS STYLES
   ========================================================================== */

.marketplace-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: rgba(15, 19, 26, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border-glow);
  padding: 16px 24px;
  border-radius: 14px;
  margin-bottom: 40px;
}

.search-input-wrap {
  flex: 2;
  min-width: 240px;
  position: relative;
}

.search-input-wrap input {
  width: 100%;
  padding: 12px 16px;
  background: #090d14;
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.search-input-wrap input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green-glow);
}

.filter-select {
  flex: 1;
  min-width: 160px;
  padding: 12px 16px;
  background: #090d14;
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

/* Marketplace GPU Card Grid (Equal Heights) */
.gpu-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.gpu-card {
  background: rgba(15, 19, 26, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gpu-card:hover {
  border-color: rgba(0, 170, 85, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 170, 85, 0.14);
}

.gpu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

/* 3D Hardware Image Container in GPU Card */
.gpu-card-image-wrap {
  width: 100%;
  height: 180px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: radial-gradient(circle at center, rgba(0, 170, 85, 0.08) 0%, rgba(5, 10, 15, 0.8) 80%);
  border: 1px solid rgba(0, 170, 85, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.gpu-card-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 170, 85, 0.25));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gpu-card:hover .gpu-card-image-wrap img {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 14px 24px rgba(0, 170, 85, 0.45));
}

.gpu-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-main);
}

.gpu-vram {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-green);
}

/* Specs Block inside GPU Card */
.gpu-card-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: rgba(9, 13, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 20px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.spec-label {
  color: var(--text-dim);
  font-weight: 500;
}

.spec-val {
  color: var(--text-main);
  font-weight: 600;
  text-align: right;
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* GPU Card Footer & Uniform Premium Button */
.gpu-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-border);
}

.gpu-price {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
}

.gpu-price span {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Uniform Premium GPU Card Button (.btn-gpu-card) */
.btn-gpu-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: #030507;
  background: var(--accent-green);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(0, 170, 85, 0.35);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-gpu-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 170, 85, 0.6);
  background: var(--accent-green-hover);
  color: #000000;
}

.btn-gpu-card:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 170, 85, 0.4);
}

.btn-gpu-card svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.btn-gpu-card:hover svg {
  transform: translateX(3px);
}
