/* =========================================================
   Raychase Dawn — Products list page
   ========================================================= */

/* ---------- Page head ---------- */
/* Extend the light-blue banner up behind the top nav so the menu + filter bar read as one */
body { background: linear-gradient(180deg, #f4f8fc 0%, #eef4fb 360px, #f4f8fc 100%); }
.site-header { background: transparent; border-bottom-color: transparent; }
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(228, 235, 242, 0.7);
  box-shadow: 0 6px 24px -14px rgba(10, 42, 74, 0.28);
}
.page-head {
  padding: 52px 0 20px;
  background: transparent;
}
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-3);
}
.crumb a { color: var(--ink-3); transition: color var(--transition); }
.crumb a:hover { color: var(--blue-600); }
.crumb a:last-of-type { color: var(--blue-600); font-weight: 600; }
.crumb-sep { color: #b7c4d1; }
.page-head h1 { margin-top: 16px; font-size: clamp(26px, 4vw, 36px); font-weight: 800; color: var(--navy-800); }
.cat-desc { margin-top: 10px; color: var(--ink-2); max-width: 66ch; font-size: 16px; }

/* ---------- Filter chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  transition: var(--transition);
}
.chip:hover { border-color: rgba(13, 110, 253, 0.4); color: var(--blue-600); }
.chip.is-active {
  background: rgba(13, 110, 253, 0.08);
  border-color: rgba(13, 110, 253, 0.28);
  color: var(--blue-600);
  font-weight: 600;
}
.chip-sub { font-size: 12.5px; }

/* ---------- Product list ---------- */
.products-list { padding: 48px 0 96px; background: var(--bg); }
.list-count { font-size: 14px; color: var(--ink-3); margin-bottom: 26px; }
.product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.p-item {
  display: block;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.p-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(13,110,253,.35); }
.p-item-media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(120deg, #edf4fc, #f8fbff);
}
.p-item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.p-item:hover .p-item-media img { transform: scale(1.04); }
.p-item-ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 46px;
  font-weight: 800;
  color: rgba(13, 110, 253, 0.16);
}
.p-item-body { padding: 14px 16px 18px; text-align: center; }
.p-item-sub {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}
.p-item-name { font-size: 15px; font-weight: 600; color: var(--navy-800); }

/* ---------- Empty state ---------- */
.empty-state {
  display: none;
  text-align: center;
  padding: 72px 20px;
  color: var(--ink-3);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.empty-state strong { display: block; font-size: 17px; color: var(--ink-2); margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .product-list { grid-template-columns: repeat(2, 1fr); }
  .page-head { padding: 40px 0 16px; }
}
@media (max-width: 480px) {
  .product-list { grid-template-columns: 1fr; }
}
