/* ══════════════════════════════════════════════════
   BANDERAS · extensión del sistema de diseño Banakey
   para el catálogo de banderas y displays
   ══════════════════════════════════════════════════ */

.crumb {
  padding: 120px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.crumb a { color: var(--ink-soft); text-decoration: none; }
.crumb a:hover { color: var(--yellow); }

/* ─── Category hero ─── */
.cat-hero { padding: 26px 0 60px; }
.cat-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin: 18px 0 20px;
}
.cat-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.6;
}

/* ─── Layout: image + content ─── */
.cat-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 40px;
}
@media (max-width: 880px) { .cat-layout { grid-template-columns: 1fr; gap: 36px; } }

.cat-image-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  position: sticky;
  top: 100px;
}
@media (max-width: 880px) { .cat-image-card { position: static; } }
.cat-image-card img { width: 100%; height: auto; display: block; }

.cat-body p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 18px;
}
.cat-body p strong { color: var(--ink); font-weight: 600; }

/* ─── Chip facts (accessory / variant names) ─── */
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.chip {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-card);
}

/* ─── Spec tables ─── */
.spec-block { margin: 30px 0; }
.spec-caption {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.spec-table th {
  background: var(--bg-soft);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.spec-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: rgba(255,255,255,0.015); }

/* ─── Family nav strip (index page) ─── */
.fam-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0 10px;
}
.fam-nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s;
}
.fam-nav a:hover { color: var(--yellow); border-color: var(--yellow); }

/* ─── Family section ─── */
.family-section { padding: 64px 0; border-top: 1px solid var(--line); }
.family-section:first-of-type { border-top: none; }
.family-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}

/* ─── Product grid (index) ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.product-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.product-card-img {
  background: #fff;
  padding: 18px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: contain; }
.product-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.05;
}
.product-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}
.product-card .entry-arrow { font-size: 11px; }

/* ─── Catalog hero (index page) ─── */
.cat-index-hero {
  padding: 150px 0 60px;
  position: relative;
}
.cat-index-hero .pill { margin-bottom: 22px; }
.cat-index-stats { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.cat-index-stats .hstat-num {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 38px;
  line-height: 1;
}
.cat-index-stats .hstat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 6px;
}
