/* Products standalone page specific */
body.products-page { background: #fafbfd; }

#header.always-scrolled {
  background: rgba(255,255,255,0.98);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -12px rgba(11,26,51,0.1);
  backdrop-filter: blur(12px);
}

/* Page Hero */
.page-hero {
  padding: calc(var(--sec-y) + 60px) 0 var(--sec-y-sm);
  background: linear-gradient(180deg, #fff, #fafbfd);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 20%; right: -8%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,165,116,0.15), transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 20px 0 28px;
  padding-bottom: 0.15em;
}
.page-title em {
  color: var(--gold);
  font-family: 'Noto Serif KR', serif;
  font-style: italic;
  padding: 0 0.04em 0.1em;
  display: inline-block;
  line-height: 1.2;
}
.page-lead {
  font-size: 18px; line-height: 1.8;
  color: var(--ink-2);
  max-width: 620px;
  margin-bottom: 44px;
}
.page-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.cat-filter {
  padding: 11px 22px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--muted);
  transition: all 0.25s var(--easing);
}
.cat-filter:hover { color: var(--ink); border-color: var(--ink); }
.cat-filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Product grid (full catalog — compact card) */
.products-list { padding: 0 0 var(--sec-y); }
.products-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 0;
}
.product-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 24px 22px 22px;
  transition: transform 0.35s var(--easing), border-color 0.25s, box-shadow 0.35s;
  cursor: pointer;
  display: flex; flex-direction: column;
  gap: 10px;
  min-height: 200px;
  opacity: 0;
  transform: translateY(24px);
  animation: cardReveal 0.7s var(--easing) var(--delay, 0ms) forwards;
  position: relative;
}
@keyframes cardReveal {
  to { opacity: 1; transform: translateY(0); }
}
.product-card[data-cat="lab"] { --brand: var(--lab); }
.product-card[data-cat="cc"] { --brand: var(--cc); }
.product-card[data-cat="db"] { --brand: var(--db); }

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand, var(--ink));
  box-shadow: 0 18px 32px -14px color-mix(in srgb, var(--brand, #111) 30%, transparent);
}
.product-card.hide { display: none; }

.pc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand, var(--ink)) 10%, #fff);
  color: var(--brand, var(--ink));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  transition: transform 0.3s var(--easing), background 0.3s;
}
.pc-icon svg { width: 22px; height: 22px; }
.product-card:hover .pc-icon {
  background: var(--brand, var(--ink));
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}
.pc-tag {
  display: inline-block;
  font-family: 'Inter', 'Pretendard', sans-serif;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand, var(--gold-ink));
  text-transform: uppercase;
  align-self: flex-start;
}
.product-card h3 {
  font-size: 17.5px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
}
.product-card p {
  font-size: 13.5px; line-height: 1.6;
  color: var(--muted);
  margin: 0;
  flex: 1;
  word-break: keep-all;
}
.product-card::after {
  content: '→';
  position: absolute;
  right: 20px; bottom: 20px;
  color: var(--brand, var(--gold));
  font-weight: 800;
  font-size: 16px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s var(--easing);
}
.product-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Bottom CTA */
.page-cta {
  padding: var(--sec-y) 0;
  background: linear-gradient(180deg, #fafbfd, #fff);
  position: relative;
}
.page-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 1px;
  background: var(--gold);
}
.page-cta-inner { text-align: center; max-width: 820px; margin: 0 auto; }
.page-cta-inner .h2 {
  text-align: center;
  margin: 22px auto 32px;
}
.h2.center { text-align: center; }
.page-cta-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* Category filter count pill */
.cat-filter .cnt {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  transition: all 0.25s;
}
.cat-filter.active .cnt { background: rgba(255,255,255,0.18); color: #fff; }

/* Responsive */
@media (max-width: 1440px) {
  .products-page-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 1100px) {
  .products-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .page-hero { padding: calc(var(--sec-y-sm) + 50px) 0 var(--sec-y-sm); }
  .page-title { font-size: clamp(32px, 8vw, 52px); margin-bottom: 22px; }
  .page-lead { font-size: 15px; margin-bottom: 32px; }
  .page-nav { gap: 6px; }
  .cat-filter { padding: 9px 14px; font-size: 12px; }
  .cat-filter .cnt { font-size: 10px; padding: 2px 7px; }
}
@media (max-width: 640px) {
  .products-page-grid { grid-template-columns: 1fr; gap: 12px; }
  .product-card { padding: 22px 20px 20px; min-height: 0; }
  .product-card h3 { font-size: 17px; }
  .product-card p { font-size: 13px; }
  .page-cta-actions { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; gap: 10px; }
  .page-cta-actions .btn { width: 100%; justify-content: center; }
  .page-cta-inner .h2 { font-size: clamp(24px, 7vw, 34px); padding: 0 12px; }
}
