.search-container { max-width: 900px; margin: 0 auto; padding: 2rem 1rem; }

.search-form { display: flex; box-shadow: 0 6px 20px rgba(0,0,0,0.12); border-radius: 10px; overflow: hidden; }

.search-input { flex: 1; padding: 1.2rem 1.8rem; font-size: 1.15rem; border: 1px solid var(--border); border-right: none; outline: none; }

.search-btn { padding: 1.2rem 2rem; background: #ff6600; color: #fff; border: none; font-size: 1.05rem; cursor: pointer; font-weight: 900; }

.search-btn:hover { background: #e65a00; }

.spot-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  background: #f8fafc;
  color: var(--text);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.spot-bar__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.spot-bar__title {
  font-weight: 800;
  opacity: 0.9;
  letter-spacing: 0.01em;
}

.spot-bar__value {
  font-size: 1.35rem;
  font-weight: 900;
}

.spot-bar__unit {
  font-size: 0.95rem;
  font-weight: 800;
  opacity: 0.85;
  margin-left: 0.35rem;
}

.spot-bar__meta {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

.home-container { max-width: 1400px; margin: 0 auto; padding: 2rem 1rem; display: flex; gap: 2.5rem; min-height: calc(100vh - 400px); }

.filters { width: 280px; background: #f8f9fa; padding: 1.5rem; border-radius: 12px; border: 1px solid var(--border); height: fit-content; position: sticky; top: 2rem; }

.filters h3 { margin-top: 0; font-size: 1.25rem; color: var(--primary); }

.filters strong { display: block; margin: 1.5rem 0 0.75rem 0; color: var(--text); }

.filters label { display: block; margin: 0.9rem 0; cursor: pointer; font-size: 1.0rem; }

.main { flex: 1; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem; align-items: stretch; }

.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); display: none; transition: transform 0.2s; height: 100%; }

.product-card.show { display: flex; flex-direction: column; }

.product-card:hover { transform: translateY(-5px); }

.product-img { width: 100%; height: 240px; object-fit: contain; background: #f8f8f8; padding: 1.5rem; }

.product-info { padding: 1.5rem; }

.collection-controls { padding: 0 1.5rem; margin-top: -0.5rem; }

.card-bottom { padding: 0 1.5rem 1.5rem; display: flex; flex-direction: column; }

.from-price { font-size: 1.35rem; font-weight: 900; color: var(--success); margin: 0.2rem 0 0; }

.no-offers-text { color: #999; font-style: italic; margin: 0; padding-top: 0.5rem; }

.product-name { font-size: 1.2rem; font-weight: 900; margin: 0 0 0.8rem; color: var(--text); }

.premium { font-size: 0.95rem; color: var(--muted); margin-top: 0.3rem; }

.dealer { font-size: 1rem; color: #555; }

.buy-btn { background: var(--primary); color: #fff; padding: 0.8rem 1.6rem; text-decoration: none; border-radius: 10px; font-weight: 900; font-size: 1.0rem; }

.buy-btn:hover { background: var(--primary-700); text-decoration: none; }

.collection-btn { background: var(--success); color: #fff; padding: 0.5rem 1rem; text-decoration: none; border-radius: 10px; font-size: 0.9rem; margin-left: 0.5rem; border: none; cursor: pointer; font-weight: 800; }

.collection-btn:hover { background: #15803d; text-decoration: none; }

.collection-btn.in-collection { background: #6c757d; }

.more-offers { text-align: center; padding: 1rem; color: var(--primary); font-weight: 900; }

.no-results { grid-column: 1 / -1; text-align: center; padding: 5rem 2rem; color: var(--muted); font-size: 1.2rem; }

@media (max-width: 960px) {
  .home-container { flex-direction: column; min-height: auto; }
  .filters { width: 100%; position: static; top: auto; height: auto; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (max-width: 700px) {
  .search-container { padding: 1.2rem 0.8rem; }
  .search-form { flex-direction: column; }
  .search-input { border-right: 1px solid var(--border); }
  .search-btn { width: 100%; }
  .spot-bar { padding: 0.9rem 0.8rem; }
  .spot-bar__value { font-size: 1.2rem; }
  .home-container { padding: 1.2rem 0.8rem; gap: 1.2rem; }
  .grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .product-img { height: 200px; padding: 1rem; }
}
