/* =========================================================
   FRIALTO — CATÁLOGO PREMIUM
   Arquivo: catalogo.css
========================================================= */

/* =========================
   CONTAINER GERAL
========================= */
.frcat-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

/* =========================
   CABEÇALHO
========================= */
.frcat-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.frcat-title-page {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}

.frcat-subtitle-page {
  font-size: 15px;
  color: #6b7280;
  max-width: 520px;
}

/* =========================
   BUSCA
========================= */
.frcat-search {
  display: flex;
  gap: 10px;
}

.frcat-search input {
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  min-width: 260px;
  font-size: 14px;
}

.frcat-search button {
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  background: linear-gradient(135deg, #e4100e, #b90d0b);
  color: #fff;
  cursor: pointer;
}

/* =========================
   FILTROS
========================= */
.frcat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 40px;
}

.frcat-filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.frcat-filter-label {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* =========================
   PILLS
========================= */
.frcat-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.frcat-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: #f3f4f6;
  color: #374151;
  text-decoration: none;
  transition: all .15s ease;
}

.frcat-pill:hover {
  background: #e5e7eb;
}

.frcat-pill.is-active {
  background: linear-gradient(135deg, #e4100e, #b90d0b);
  color: #fff;
}

/* =========================
   FILTRO PREÇO
========================= */
.frcat-filter-price form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.frcat-filter-price input {
  width: 90px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 13px;
}

.frcat-filter-price button {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  background: #111827;
  color: #fff;
  cursor: pointer;
}

/* =========================
   GRID PRODUTOS
========================= */
.frcat-grid,
.fr-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

/* =========================
   PAGINAÇÃO
========================= */
.frcat-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.frcat-page-link {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #374151;
  font-weight: 700;
  text-decoration: none;
}

.frcat-page-link.is-current {
  background: #111827;
  color: #fff;
}

/* =========================
   ESTADO VAZIO
========================= */
.frcat-empty {
  text-align: center;
  padding: 80px 20px;
  font-size: 15px;
  color: #6b7280;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 1024px) {
  .frcat-grid,
  .fr-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .frcat-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .frcat-grid,
  .fr-catalog-grid {
    grid-template-columns: 1fr;
  }

  .frcat-search input {
    min-width: 200px;
  }
}