.rp-banner { display:flex;align-items:center;gap:14px;justify-content:center;background:var(--amber-light);color:#0E1117 !important;padding:14px 22px;border-radius:10px;text-decoration:none;font-weight:700;max-width:1100px;margin:18px auto 0;box-shadow:0 6px 18px rgba(232,176,74,0.22);transition:transform .15s; }
.rp-banner:hover { transform:translateY(-1px);color:#0E1117; }
.rp-banner-pill { background:#0E1117;color:var(--amber-light);padding:3px 10px;border-radius:100px;font-size:0.7rem;letter-spacing:0.04em;text-transform:uppercase;font-weight:800; }
.rp-banner-text { font-size:0.95rem; }
.rp-banner-arrow { font-size:1.2rem; }
.filter-card .rp-side { display:block;background:var(--amber-light);color:#0E1117 !important;padding:10px 12px;border-radius:8px;text-align:center;font-weight:700;font-size:0.82rem;text-decoration:none;margin-bottom:14px; }
.filter-card .rp-side:hover { opacity:0.92; color:#0E1117; }
.product-card-price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--market-400); }
.add-cart-btn { color: #0E1117; }
.product-card-img-link { display: block; text-decoration: none; }
.product-card-title-link { display: block; text-decoration: none; color: inherit; }
.product-card-title-link:hover .product-card-title { color: var(--accent); }
.store-card-link { display: block; text-decoration: none; color: inherit; }
.store-card-link:hover .store-card { border-color: var(--accent); }

/* ── appended ── */
.browse-hero { text-align: center; padding: 40px 20px 30px; }
.browse-hero h1 { font-size: 2rem; font-weight: 700; color: var(--text-primary); margin: 0 0 8px; }
.browse-hero p { font-size: 0.9rem; color: var(--text-secondary); margin: 0 0 20px; }
.search-bar { display: flex; max-width: 600px; margin: 0 auto; gap: 8px; }
.search-bar input { flex: 1; padding: 10px 16px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); color: var(--text-primary); font-size: 0.9rem; font-family: 'Inter', sans-serif; }
.search-bar input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-bar button { padding: 10px 20px; border: none; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 500; cursor: pointer; font-size: 0.85rem; transition: all 0.15s; }
.search-bar button:hover { background: var(--accent-hover); }
.category-bar { display: flex; gap: 8px; overflow-x: auto; padding: 0 20px 18px; max-width: 1200px; margin: 0 auto; -webkit-overflow-scrolling: touch; }
.category-bar::-webkit-scrollbar { height: 0; }
.category-pill { padding: 6px 16px; border-radius: 100px; font-size: 0.78rem; font-weight: 500; white-space: nowrap; text-decoration: none; transition: all 0.15s; border: 1px solid var(--border-color); color: var(--text-secondary); background: var(--bg-card); flex-shrink: 0; }
.category-pill:hover, .category-pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.browse-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 20px 40px; }
.filter-sidebar { position: sticky; top: 80px; align-self: start; }
.filter-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; padding: 18px; }
.filter-card h3 { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin: 0 0 10px; }
.filter-card h3:not(:first-child) { margin-top: 18px; border-top: 1px solid var(--border-color); padding-top: 14px; }
.filter-card label { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-secondary); padding: 3px 0; cursor: pointer; }
.filter-card input[type="checkbox"] { accent-color: var(--accent); width: 15px; height: 15px; }
.filter-card input[type="text"], .filter-card input[type="number"], .filter-card select { width: 100%; padding: 7px 10px; border: 1px solid var(--border-color); border-radius: 6px; background: var(--bg-elevated); color: var(--text-primary); font-size: 0.82rem; box-sizing: border-box; font-family: 'Inter', sans-serif; margin-top: 4px; }
.filter-card input:focus, .filter-card select:focus { outline: none; border-color: var(--accent); }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input { flex: 1; }
.price-range span { color: var(--text-muted); font-size: 0.78rem; }
.filter-btn { width: 100%; padding: 8px; border: none; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 500; cursor: pointer; font-size: 0.82rem; margin-top: 14px; transition: all 0.15s; }
.filter-btn:hover { background: var(--accent-hover); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; transition: border-color 0.15s, transform 0.15s; }
.product-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.product-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--bg-elevated); display: block; }
.product-card-body { padding: 14px; }
.product-card-title { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin: 0 0 6px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-price { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.product-card-meta { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 4px; display: flex; align-items: center; gap: 4px; }
.product-card-meta a { color: var(--accent); text-decoration: none; }
.product-card-meta a:hover { text-decoration: underline; }
.condition-badge { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 0.68rem; font-weight: 600; margin-bottom: 6px; font-family: var(--font-mono); letter-spacing: 0.02em; text-transform: uppercase; }
/* Brand Guide condition-grade palette */
.condition-badge.new        { background: var(--grade-n-bg); color: var(--grade-n); }
.condition-badge.used       { background: var(--grade-b-bg); color: var(--grade-b); }
.condition-badge.refurbished{ background: var(--grade-a-bg); color: var(--grade-a); }
.condition-badge.grade-a, .condition-badge.a { background: var(--grade-a-bg); color: var(--grade-a); }
.condition-badge.grade-b, .condition-badge.b { background: var(--grade-b-bg); color: var(--grade-b); }
.condition-badge.grade-c, .condition-badge.c { background: var(--grade-c-bg); color: var(--grade-c); }
.condition-badge.grade-d, .condition-badge.d { background: var(--grade-d-bg); color: var(--grade-d); }
.condition-badge.grade-n, .condition-badge.n { background: var(--grade-n-bg); color: var(--grade-n); }
.add-cart-btn { width: 100%; padding: 7px; border: none; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 500; cursor: pointer; font-size: 0.78rem; transition: all 0.15s; margin-top: 8px; }
.add-cart-btn:hover { background: var(--accent-hover); }
.featured-section { max-width: 1200px; margin: 0 auto; padding: 20px 20px 50px; }
.featured-section h2 { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); margin: 0 0 18px; }
.featured-stores { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
.featured-stores::-webkit-scrollbar { height: 4px; }
.featured-stores::-webkit-scrollbar-track { background: transparent; }
.featured-stores::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
.store-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; padding: 18px; min-width: 220px; flex-shrink: 0; text-align: center; transition: border-color 0.15s; }
.store-card:hover { border-color: var(--accent); }
.store-card-logo { width: 48px; height: 48px; border-radius: 10px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.store-card-name { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.store-card-meta { font-size: 0.72rem; color: var(--text-muted); }
.pagination-bar { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.pagination-bar a { padding: 6px 14px; border-radius: 6px; font-size: 0.8rem; color: var(--text-secondary); background: var(--bg-card); border: 1px solid var(--border-color); text-decoration: none; transition: all 0.15s; }
.pagination-bar a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); grid-column: 1/-1; }
.empty-state p { font-size: 0.9rem; margin: 6px 0; }
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .browse-layout { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; }
    .products-grid { grid-template-columns: 1fr; }
    .browse-hero h1 { font-size: 1.5rem; }
    .search-bar { flex-direction: column; }
}
