
/* Sticky in-page category nav (mirrors the services nav) */
.shop-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.shop-nav__inner {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  padding: var(--space-4) 0;
  scrollbar-width: none;
}
.shop-nav__inner::-webkit-scrollbar { display: none; }
.shop-nav a {
  white-space: nowrap;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.shop-nav a:hover { color: var(--text); }

/* Category block */
.shop-cat { margin-top: var(--space-9); }
.shop-cat:first-of-type { margin-top: var(--space-7); }
.shop-cat__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--line);
}
.shop-cat__head h2 { font-size: var(--fs-xl); }
.shop-cat__count { color: var(--text-muted); font-size: var(--fs-sm); }

/* Grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 900px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shop-grid { grid-template-columns: 1fr; } }

/* Product card */
.product {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.product__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__media.placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, var(--line) 0 10px, transparent 10px 20px);
  opacity: .5;
}
.product__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .02em;
  padding: .25rem .6rem;
  border-radius: var(--r-full);
  background: var(--accent);
  color: var(--accent-contrast);
}
.product__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  flex: 1;
}
.product__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}
.product__name { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 500; line-height: var(--lh-snug); }
.product__price { font-weight: 600; white-space: nowrap; }
.product__desc { color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-base); flex: 1; }
.product__add { margin-top: var(--space-3); }
.product__add.is-added { color: var(--accent); border-color: var(--accent); }

/* Reassurance strip */
.shop-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-7);
}
@media (max-width: 720px) { .shop-notes { grid-template-columns: 1fr; } }
.shop-note h3 { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 500; margin-bottom: var(--space-2); }
.shop-note p { color: var(--text-muted); font-size: var(--fs-sm); }
