﻿* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { background-color: #f9f9f9; color: #333; overflow-y: scroll; }
.top-nav { background: #000; color: #fff; height: 60px; display: flex; align-items: center; position: sticky; top: 0; z-index: 1000; }
.nav-content { width: 100%; max-width: 1600px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo { font-weight: 800; font-size: 1.1rem; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; margin-right: 30px; }
.header-search-wrapper { flex-grow: 1; max-width: 600px; position: relative; margin-right: 20px; }
.header-search-input { width: 100%; padding: 8px 15px; border-radius: 3px; border: none; outline: none; background: #333; color: #fff; font-size: 0.9rem; transition: background 0.2s; }
.header-search-input:focus { background: #444; }
.header-search-input::placeholder { color: #888; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: #ccc; text-decoration: none; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.nav-links a:hover { color: #fff; }
.btn-sell { background: #fff; color: #000 !important; padding: 6px 15px; border-radius: 3px; }
.main-container { max-width: 1600px; margin: 0 auto; padding: 40px 20px; }
.search-hero { margin-bottom: 50px; text-align: center; padding: 40px 0; background: #fff; border-bottom: 1px solid #eee; margin-top: -40px; }
.search-bar-wrapper { position: relative; max-width: 700px; margin: 0 auto 20px auto; }
.hero-search-input { width: 100%; padding: 15px 20px; font-size: 1.2rem; border: 2px solid #eee; border-radius: 4px; outline: none; transition: border 0.2s; }
.hero-search-input:focus { border-color: #000; }
.quick-filters { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.filter-chip { background: #fff; border: 1px solid #ddd; padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; cursor: pointer; color: #555; font-weight: 600; }
.filter-chip:hover { border-color: #000; color: #000; }
.results-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #000; padding-bottom: 10px; margin-bottom: 20px; }
#resultCount { font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.5px; }
.sort-select { padding: 5px; border: none; background: transparent; font-weight: 600; cursor: pointer; text-align: right; }
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.listing-card { background: #fff; border: 1px solid #ddd; border-radius: 3px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color 0.2s; }
.listing-card:hover { border-color: #000; }
.card-image { width: 100%; aspect-ratio: 4/3; background-color: #eee; background-size: cover; background-position: center; }
.card-details { padding: 12px; display: flex; flex-direction: column; flex-grow: 1; }
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: 5px; line-height: 1.3; color: #000; }
.card-meta { font-size: 0.8rem; color: #666; margin-bottom: 10px; display: flex; gap: 8px; }
.meta-item { background: #f0f0f0; padding: 2px 6px; border-radius: 2px; }
.card-price { font-size: 1.1rem; font-weight: 800; margin-top: auto; color: #000; border-top: 1px solid #f0f0f0; padding-top: 8px; }
