/* 
 * Archive/Listing styles
 */

.browse-hero { background: var(--navy); padding: 40px 32px 32px; }
.bh-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.bh-h1 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.bh-h1 em { color: var(--mint); font-style: normal; }
.bh-sub { font-size: 14.5px; color: rgba(255,255,255,.5); margin-bottom: 22px; line-height: 1.6; }
.bh-search { display: flex; background: #fff; border-radius: 10px; overflow: hidden; max-width: 540px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.bh-sw { position: relative; flex: 1; }
.bh-sw::before { content: '🔍'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; pointer-events: none; }
.bh-search input { width: 100%; border: none; outline: none; padding: 14px 16px 14px 40px; font-family: inherit; font-size: 14px; }
.bh-search button { background: var(--mint); color: var(--navy); padding: 0 24px; font-weight: 800; font-size: 14px; border: none; cursor: pointer; }
.bh-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bstat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; min-width: 140px; }
.bstat-icon { font-size: 20px; }
.bstat-val { font-size: 20px; font-weight: 800; color: #fff; }
.bstat-label { font-size: 11.5px; color: rgba(255,255,255,.4); font-weight: 500; }

.filter-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 12px 32px; }
.fb-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fb-group { display: flex; flex-direction: column; gap: 4px; }
.fb-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.fb-select { border: 1.5px solid var(--border); border-radius: 8px; padding: 8px 30px 8px 12px; font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--text); background: #fff; cursor: pointer; outline: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A93AA' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; min-width: 140px; }
.fb-select:focus { border-color: var(--mint); }
.fb-div { width: 1px; height: 32px; background: var(--border); margin: auto 4px; }
.fb-settings { background: none; border: 1.5px solid var(--border); border-radius: 8px; padding: 8px 12px; cursor: pointer; color: var(--muted); font-size: 16px; margin-left: auto; transition: .15s; }
.fb-settings:hover { color: var(--mint); border-color: var(--mint); }

.browse-body { max-width: 1240px; margin: 0 auto; padding: 32px 32px; display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.bs-section { margin-bottom: 26px; }
.bs-title { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.cat-list { list-style: none; padding-left: 0; }
.cl-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 13.5px; color: var(--text2); transition: .15s; margin-bottom: 2px; border-left: 3px solid transparent; }
.cl-item:hover { background: var(--mint-bg); color: var(--mint-d); }
.cl-item.active { background: var(--mint-bg); color: var(--mint-d); font-weight: 700; border-left-color: var(--mint); padding-left: 7px; }
.cl-item a { color: inherit; flex: 1; }
.cl-empty { color: var(--muted); font-size: 13px; padding: 8px 10px; }
.cl-count { margin-left: auto; font-size: 11.5px; background: #F1F5F9; color: var(--muted); padding: 2px 7px; border-radius: 8px; font-weight: 600; }
.cl-item.active .cl-count { background: rgba(0,201,167,.15); color: var(--mint-d); }
.cl-more { font-size: 13px; font-weight: 600; color: var(--mint); cursor: pointer; padding: 6px 10px; display: block; margin-top: 4px; }
.qf-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.qf-item input[type="checkbox"] { accent-color: var(--mint); width: 16px; height: 16px; cursor: pointer; }
.qf-label { font-size: 13.5px; color: var(--text2); flex: 1; cursor: pointer;}
.qf-count { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.price-slider { position: relative; height: 4px; background: var(--border); border-radius: 2px; margin: 14px 6px; }
.price-fill { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: var(--mint); border-radius: 2px; }
.price-thumb { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--mint); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); top: -6px; cursor: pointer; }
.pt-left { left: 0; }
.pt-right { right: 0; }
.price-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.filter-note { color: var(--muted); font-size: 11.5px; line-height: 1.4; margin-top: 10px; }
.clear-all { display: block; font-size: 13px; font-weight: 600; color: var(--mint); cursor: pointer; margin-top: 18px; padding: 8px 0; text-align: center; border-top: 1px solid var(--border); }

.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.res-count { font-size: 14px; color: var(--muted); }
.res-count strong { color: var(--text); }
.browse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; }
.pg { width: 38px; height: 38px; border-radius: 8px; border: 1.5px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--text2); cursor: pointer; transition: .15s; }
.pg:hover, .pg.active { background: var(--mint); border-color: var(--mint); color: var(--navy); }
.pg.active { font-weight: 800; }
.pg-txt { width: auto; padding: 0 14px; }
