/* ============================================================
   PRODUCTS PAGE — STYLES
   ============================================================ */

.page-hero {
  padding: calc(var(--header-h) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(201,37,92,0.08) 0%, transparent 70%);
  pointer-events: none;
}
/* page-hero animations handled in global.css */

/* Category filter */
.cat-filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 0;
}
.cat-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 768px) {
  .cat-filter-bar { padding: 12px 0; }
  .cat-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
  }
  .cat-filters::-webkit-scrollbar { display: none; }
  .cat-pill { flex-shrink: 0; padding: 8px 16px; font-size: .65rem; }
  .cat-section-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .cat-section-header .btn-ghost { align-self: flex-start; }
}
.cat-pill {
  padding: 8px 20px;
  border-radius: 60px;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  color: var(--fg);
  background: var(--glass);
  transition: all .3s var(--ease-smooth);
  white-space: nowrap;
}
.cat-pill:hover,
.cat-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Category section */
.cat-section { margin-bottom: 80px; }
.cat-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
  flex-wrap: wrap;
}

/* Hover image swap */
.img-wrap { position: relative; }
.img-hover {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s var(--ease-smooth);
}
.product-card:hover .img-hover { opacity: 1; }

/* card-btn-sm styles defined in home.css — just add products-page overrides if needed */
