/* ===== CATALOG PAGE ===== */
.cat-page-hero {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-light) 100%);
  color: #fff; padding: 44px 0 36px; text-align: center;
}
.cat-page-hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 8px; }
.cat-page-hero p { font-size: 1rem; opacity: 0.9; }

.cat-layout { display: flex; gap: 28px; padding-top: 36px; padding-bottom: 60px; align-items: flex-start; }

/* Sidebar */
.cat-sidebar { flex: 0 0 240px; position: sticky; top: 90px; }
.cat-sidebar-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 10px; padding-left: 4px; }
.cat-nav { display: flex; flex-direction: column; gap: 4px; }
.cat-tab {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  padding: 11px 14px; border: none; border-radius: var(--radius-sm);
  background: transparent; color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 0.87rem; font-weight: 500;
  cursor: pointer; transition: background var(--transition), color var(--transition); line-height: 1.4;
}
.cat-tab img { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }
.cat-tab:hover { background: var(--pink-pale); color: var(--pink); }
.cat-tab.active { background: var(--pink); color: #fff; font-weight: 700; }
.cat-tab.active img { filter: brightness(0) invert(1); }

/* Content */
.cat-content { flex: 1; min-width: 0; }
.cat-panel { display: none; }
.cat-panel.active { display: block; }
.cat-panel h2 { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.cat-panel h2::after { content: ''; display: block; width: 40px; height: 3px; background: var(--pink); border-radius: 2px; margin-top: 8px; }
.cat-desc { color: var(--text-light); font-size: 0.93rem; margin-bottom: 24px; margin-top: 12px; line-height: 1.65; }


/* Product grid */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 18px; }
.prod-card {
  background: var(--card-bg); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.prod-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.prod-img { width: 100%; height: 168px; overflow: hidden; background: #f5f5f5; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-info { padding: 14px 15px 16px; }
.prod-info h3 { font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 5px; font-family: 'Syne', sans-serif; }
.prod-info p { font-size: 0.8rem; color: var(--text-light); line-height: 1.5; }
.no-results { font-size: 0.94rem; color: var(--text-light); padding: 24px 0; display: none; }

/* Mobile */
@media (max-width: 768px) {
  .cat-layout { flex-direction: column; gap: 0; padding-top: 0; }
  .cat-sidebar { flex: none; width: 100%; position: static; background: var(--card-bg); border-bottom: 1px solid var(--border); padding: 16px 0; }
  .cat-nav { flex-direction: row; overflow-x: auto; padding: 0 16px; flex-wrap: nowrap; gap: 8px; scrollbar-width: none; }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-tab { white-space: nowrap; flex-shrink: 0; padding: 8px 12px; font-size: 0.82rem; }
  .cat-content { padding: 20px 0; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .prod-grid { grid-template-columns: 1fr; }
}

/* No-image product card */
.prod-img--noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-pale);
  border-bottom: 1px solid var(--pink-muted);
}
.prod-icon {
  font-size: 3rem;
  line-height: 1;
  opacity: 0.6;
}
