/* ============================================================
   collection-search.css — Үзмэр хайх стандарт хуудас
   cs- prefix. Brand: #031F3E navy, #3B0002 maroon, gold accent
   ============================================================ */

.cs-body { background: #f7f5f0; }

/* ═══════════════════════════════════════════════════════════
   COMPACT HERO + BIG SEARCH
   ═══════════════════════════════════════════════════════════ */
.cs-hero {
  padding: 60px 0 50px;
  background: linear-gradient(180deg, #faf8f3 0%, #fff 100%);
}

.cs-hero-head {
  text-align: center;
  margin-bottom: 32px;
}
.cs-hero-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--bb-red);
  margin-bottom: 14px;
}
.cs-hero-title {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--maroon);
  margin: 0 0 14px;
}
.cs-hero-desc {
  font-size: 1rem;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}
.cs-hero-desc strong { color: var(--maroon); font-weight: 700; }

.cs-search-big {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 100px;
  padding: 6px 8px 6px 22px;
  box-shadow: 0 18px 40px rgba(59, 0, 2, .1);
  transition: all .2s;
}
.cs-search-big:focus-within {
  border-color: var(--maroon);
  box-shadow: 0 20px 50px rgba(59, 0, 2, .18);
}
.cs-search-big > i {
  color: var(--maroon);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.cs-search-big input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  padding: 14px 10px;
  min-width: 0;
}
.cs-search-big input::placeholder { color: var(--muted); }
.cs-search-btn {
  background: var(--maroon);
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 100px;
  font-family: inherit;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  flex-shrink: 0;
}
.cs-search-btn:hover {
  background: var(--maroon-deep);
  transform: translateX(2px);
}
.cs-search-btn i { color: #fff; }


/* ═══════════════════════════════════════════════════════════
   BIG CATEGORY CHIPS — top priority
   ═══════════════════════════════════════════════════════════ */
.cs-cats {
  padding: 18px 0 32px;
  background: #fff;
  border-bottom: 1px solid #e0d8c5;
}

.cs-cats-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 16px;
  text-align: center;
}

.cs-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.cs-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 100px;
  padding: 10px 18px 10px 14px;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--maroon);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.cs-cat-chip i {
  color: var(--gold-deep);
  font-size: .92rem;
  transition: color .2s;
}
.cs-cat-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--gold-deep);
  flex-shrink: 0;
  transition: color .2s;
}
.cs-cat-ic i { color: inherit; font-size: .92rem; }
.cs-cat-ic svg { width: 18px; height: 18px; display: block; color: inherit; }
.cs-cat-chip em {
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  background: #f0eadc;
  color: var(--muted);
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0;
  transition: all .2s;
}
.cs-cat-chip:hover {
  border-color: var(--maroon);
  transform: translateY(-2px);
}
.cs-cat-chip:hover i,
.cs-cat-chip:hover .cs-cat-ic { color: var(--maroon); }
.cs-cat-chip.active {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
  box-shadow: 0 8px 22px rgba(59, 0, 2, .25);
}
.cs-cat-chip.active i,
.cs-cat-chip.active .cs-cat-ic { color: var(--gold-light); }
.cs-cat-chip.active em {
  background: var(--gold);
  color: var(--maroon-deep);
}


/* ═══════════════════════════════════════════════════════════
   BROWSER — reuses .coll-browser / .prado-* / .artwork-grid
   ═══════════════════════════════════════════════════════════ */
.cs-browser {
  padding: 10px 0 80px;
  background: #f7f5f0;
}
/* Remove the decorative bg watermark inherited from collection.css */
.cs-browser::after { display: none; }
.cs-browser::before { display: none; }


/* ═══════════════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════════════ */
.cs-empty {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
  border: 1px dashed #d4d4d4;
  border-radius: var(--radius);
  margin: 30px 0;
}
.cs-empty i {
  font-size: 3rem;
  color: var(--gold-deep);
  opacity: .6;
  margin-bottom: 20px;
}
.cs-empty h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--maroon);
  margin: 0 0 10px;
}
.cs-empty p {
  font-size: .95rem;
  color: var(--muted);
  margin: 0 0 22px;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .cs-hero { padding: 36px 0 32px; }
  .cs-hero-head { margin-bottom: 22px; }
  .cs-search-big {
    flex-direction: column;
    border-radius: 14px;
    padding: 14px;
    gap: 10px;
  }
  .cs-search-big > i { display: none; }
  .cs-search-big input {
    width: 100%;
    background: #faf8f3;
    border-radius: 8px;
    padding: 12px 16px;
  }
  .cs-search-btn { width: 100%; justify-content: center; }

  .cs-cats { padding: 14px 0 22px; }
  .cs-cat-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px 4px 8px;
    -webkit-overflow-scrolling: touch;
  }
  .cs-cat-chip { padding: 8px 14px 8px 12px; font-size: .82rem; }

  .cs-browser { padding: 24px 0 60px; }
}
