.products-hero { padding: 110px 0 80px; border-bottom: 1px solid var(--line); }
.products-hero h1 { font-size: clamp(4.7rem, 12vw, 9rem); }
.products-hero > p:last-child { margin: 38px 0 0; color: var(--muted); font-family: "Noto Sans JP", sans-serif; }
.product-filters { display: grid; gap: 18px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.filter-group { display: grid; grid-template-columns: 85px 1fr; align-items: start; gap: 16px; }
.filter-group > p { margin: 9px 0 0; color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.category-filters, .release-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.category-filter, .release-filter { padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); background: rgba(255,255,255,.3); font: inherit; font-size: .74rem; font-weight: 700; cursor: pointer; }
.category-filter.active { border-color: var(--category-accent, var(--ink)); color: white; background: var(--category-accent, var(--ink)); }
.release-filter.active { border-color: var(--ink); color: white; background: var(--ink); }
.all-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: 120px; }
.products-empty { grid-column: 1 / -1; margin: 0; padding: 80px 20px; color: var(--muted); text-align: center; font-family: "Noto Sans JP", sans-serif; }
.all-products .product-card-copy { min-height: 210px; padding: 24px; }
.all-products .product-card-copy strong { font-size: 1.35rem; }
.product-detail { width: min(860px, 100%); margin: 0 auto; padding: 70px 0 120px; }
.product-back { color: var(--muted); font-size: .8rem; font-weight: 700; }
.product-detail-header { padding: 75px 0 55px; border-bottom: 1px solid var(--line); }
.product-detail-meta { margin: 0; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-detail-header h1 { margin-top: 24px; white-space: normal; font-size: clamp(3.1rem, 9vw, 6.5rem); line-height: 1; }
.product-detail-header > p:nth-of-type(2) { max-width: 650px; margin: 30px 0 0; color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: 1.02rem; line-height: 2; }
.technology-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.technology-list span { padding: 7px 11px; border-radius: 100px; color: var(--accent); background: rgba(108,85,225,.09); font-size: .68rem; font-weight: 700; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.product-action { padding: 13px 18px; border: 1px solid var(--ink); border-radius: 100px; font-size: .78rem; font-weight: 700; transition: color .2s ease, background .2s ease, transform .2s ease; }
.product-action:hover { color: white; background: var(--ink); transform: translateY(-2px); }
.product-cover { margin: 55px 0 10px; overflow: hidden; border-radius: 25px; background: white; }
.product-cover img { display: block; width: 100%; max-height: 600px; object-fit: cover; }
.product-body { padding-top: 35px; }
.product-body h2 { margin: 52px 0 22px; font-family: "Noto Sans JP", sans-serif; font-size: 1.7rem; letter-spacing: -.035em; }
.product-body h3 { margin: 38px 0 18px; font-family: "Noto Sans JP", sans-serif; font-size: 1.25rem; }
.product-body p { margin: 0 0 20px; color: #3f4041; font-family: "Noto Sans JP", sans-serif; font-size: 1rem; line-height: 2.2; }
.product-body ul, .product-body ol { margin: 0 0 28px; padding-left: 1.5em; font-family: "Noto Sans JP", sans-serif; line-height: 2; }
.product-body blockquote { margin: 30px 0; padding: 18px 22px; border-left: 4px solid var(--accent); color: var(--muted); background: rgba(255,255,255,.4); font-family: "Noto Sans JP", sans-serif; line-height: 1.9; }
.product-body pre { margin: 30px 0; padding: 22px; overflow-x: auto; border-radius: 14px; color: #f4f1eb; background: #1c1d22; line-height: 1.7; }
.product-body :not(pre) > code { padding: 3px 7px; border-radius: 6px; background: rgba(108,85,225,.1); font-size: .9em; }
.product-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.product-body img { display: block; max-width: 100%; margin: 30px auto; border-radius: 16px; }
.product-body hr { height: 1px; margin: 48px 0; border: 0; background: var(--line); }
.product-gallery { margin-top: 80px; padding-top: 55px; border-top: 1px solid var(--line); }
.product-gallery > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-gallery img { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; object-fit: cover; background: white; }
.product-last-updated { margin: 72px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: .72rem; text-align: right; letter-spacing: .04em; }
.product-not-found { min-height: 55vh; padding-top: 70px; }
.product-not-found h1 { white-space: normal; font-size: clamp(2.5rem, 8vw, 5rem); }
@media (max-width: 800px) {
  .products-hero { padding: 80px 0 65px; }
  .all-products { grid-template-columns: 1fr; }
  .product-detail { padding-top: 50px; }
  .product-detail-header { padding-top: 55px; }
}
@media (max-width: 480px) {
  .filter-group { grid-template-columns: 1fr; gap: 8px; }
  .filter-group > p { margin-top: 0; }
  .product-actions { align-items: stretch; flex-direction: column; }
  .product-action { text-align: center; }
  .product-gallery > div { grid-template-columns: 1fr; }
}
