.category-page {
  --category-ink: #171a18;
  --category-paper: #fff;
  --category-wash: #f2f3f1;
  --category-orange: #f24a00;
  color: var(--category-ink);
  background: var(--category-paper);
}
.category-page *, .category-page *::before, .category-page *::after { box-sizing: border-box; }
.category-page a { color: inherit; }
.category-page img { display: block; max-width: 100%; }
.category-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 76px);
  border-bottom: 1px solid #e6e7e4;
}
.category-all, .category-tabs a { text-decoration: none; }
.category-all { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; }
.category-all span { color: var(--category-orange); font-size: 18px; }
.category-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: clamp(14px, 2.7vw, 38px); }
.category-tabs a { position: relative; padding: 9px 0; color: #585d59; font-size: 14px; transition: color 180ms ease; }
.category-tabs a:hover, .category-tabs a:focus-visible, .category-tabs a[aria-current="page"] { color: var(--category-ink); }
.category-tabs a[aria-current="page"]::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--category-orange); content: ""; }
.category-hero { display: grid; grid-template-columns: minmax(310px, .83fr) minmax(0, 1.17fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding: clamp(50px, 7vw, 104px) clamp(20px, 6.7vw, 108px) clamp(64px, 8vw, 120px); }
.category-page .category-hero.products-hero { display: flex; grid-template-columns: none; align-items: stretch; justify-content: space-between; gap: 0; min-height: max(680px, calc(100svh - 80px)); padding: clamp(24px, 4vh, 44px) 0 clamp(28px, 4.5vh, 54px); color: #fff; background: #242725; }
.category-page .category-hero.products-hero .products-hero-scrim { background: linear-gradient(90deg, rgba(12,15,14,.58), rgba(12,15,14,.12) 82%), linear-gradient(0deg, rgba(12,15,14,.84), rgba(12,15,14,.2) 54%, rgba(12,15,14,.1)); }
.category-page .category-hero.products-hero .category-eyebrow { max-width: none; margin: 0; color: #fff; }
.category-page .category-hero.products-hero .products-hero-top a { margin-left: auto; }
.category-page .category-hero.products-hero h1 { max-width: 15ch; margin: 0; color: #fff; font-size: clamp(56px, 9.2vw, 148px); font-weight: 780; letter-spacing: -.065em; line-height: .9; white-space: normal; }
.category-hero-copy { max-width: 650px; }
.category-eyebrow { margin: 0 0 20px; color: #a5360a; font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.4; }
.category-hero h1 { max-width: 12ch; margin: 0; color: var(--category-ink); font-size: clamp(46px, 6vw, 88px); font-weight: 650; letter-spacing: -.065em; line-height: .99; }
.category-intro { max-width: 54ch; margin: 25px 0 0; color: #505652; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; }
.category-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.category-primary, .category-secondary { display: inline-flex; align-items: center; gap: 18px; min-height: 52px; text-decoration: none; font-size: 14px; font-weight: 650; transition: background-color 180ms ease, color 180ms ease, transform 180ms ease; }
.category-primary { padding: 0 20px; color: #fff !important; background: var(--category-ink); }
.category-primary:hover, .category-primary:focus-visible { background: var(--category-orange); }
.category-secondary { min-height: auto; padding-block: 12px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.category-secondary:hover, .category-secondary:focus-visible { color: #a5360a; }
.category-primary span, .category-secondary span { font-size: 18px; }
.category-primary:active, .category-secondary:active { transform: scale(.98); }
.category-hero-image, .category-item-image { min-width: 0; margin: 0; background: var(--category-wash); }
.category-hero-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.category-item-image { aspect-ratio: 1.42; }
.category-item-image img { width: 100%; height: 100%; object-fit: cover; }
.category-collection { padding: clamp(70px, 9vw, 132px) clamp(20px, 6.7vw, 108px) clamp(80px, 10vw, 148px); background: var(--category-wash); }
.category-section-heading { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; max-width: 820px; margin: 0 auto clamp(42px, 6vw, 84px); text-align: center; }
.category-section-heading .category-eyebrow { margin-bottom: 14px; }
.category-section-heading h2 { max-width: 17ch; margin: 0 auto; font-size: clamp(34px, 4.1vw, 58px); font-weight: 650; letter-spacing: -.045em; line-height: 1.02; }
.category-section-heading > p { max-width: 60ch; margin: 0 auto; color: #505652; font-size: 17px; line-height: 1.6; }
.category-filters { display: flex; flex-wrap: wrap; gap: 10px; max-width: 1440px; margin: -16px auto 36px; }
.category-filters button { min-height: 42px; padding: 0 15px; border: 1px solid #d5d8d4; border-radius: 999px; color: #363b37; background: transparent; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease; }
.category-filters button:hover, .category-filters button:focus-visible { border-color: var(--category-ink); }
.category-filters button[aria-pressed="true"] { border-color: var(--category-ink); color: #fff; background: var(--category-ink); }
.category-item-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(46px, 7vw, 100px) clamp(24px, 4vw, 62px); max-width: 1440px; margin-inline: auto; }
.category-page.is-chair .category-item-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 3.4vw, 52px) clamp(18px, 2.4vw, 36px); }
.category-page.is-chair .category-item-offset { margin-top: 0; }
.category-page.is-chair .category-item[hidden] { display: none; }
.category-page.is-chair .category-item-image { aspect-ratio: 1; background: #f2f3f1; }
.category-page.is-chair .category-item-image img[src*="sunon-chair-"] { padding: 0; object-fit: contain; background: #f2f3f1; }
.category-item { min-width: 0; }
.category-item-offset { margin-top: clamp(38px, 6vw, 84px); }
.category-item-image { overflow: hidden; }
.category-item-image img { transition: transform 420ms cubic-bezier(.2,.7,.2,1); }
.category-item:hover .category-item-image img { transform: scale(1.012); }
.category-item-copy { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: 18px; }
.category-item-copy h3 { margin: 0 0 8px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 620; letter-spacing: -.035em; line-height: 1.15; }
.category-item-copy p { max-width: 56ch; margin: 0; color: #555b57; font-size: 15px; line-height: 1.65; }
.category-next { padding: clamp(48px, 6.5vw, 92px) clamp(20px, 6.7vw, 108px); }
.category-next .category-eyebrow { margin-bottom: 22px; }
.category-next-links { display: flex; flex-wrap: wrap; gap: 12px; }
.category-next-links a { display: inline-flex; align-items: center; gap: 20px; min-height: 48px; padding: 0 16px; border: 1px solid #d9dcd8; text-decoration: none; font-size: 14px; font-weight: 600; transition: border-color 180ms ease, background-color 180ms ease; }
.category-next-links a:hover, .category-next-links a:focus-visible { border-color: var(--category-ink); background: var(--category-wash); }
.category-next-links span { color: #a5360a; }
.category-motion .category-reveal { opacity: 0; transform: translateY(12px); transition: opacity 420ms ease, transform 420ms cubic-bezier(.2,.7,.2,1); }
.category-motion .category-reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  .category-switcher { align-items: flex-start; flex-direction: column; gap: 8px; }
  .category-tabs { justify-content: flex-start; width: 100%; gap: 22px; overflow-x: auto; }
  .category-tabs a { flex: 0 0 auto; }
  .category-hero:not(.products-hero) { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 48px 68px; }
  .category-hero h1 { max-width: 14ch; font-size: clamp(44px, 9vw, 70px); }
  .category-hero-image { grid-row: 1; }
  .category-page .category-hero.products-hero { min-height: max(640px, calc(100svh - 80px)); padding-top: 28px; }
  .category-page .category-hero.products-hero h1 { max-width: 13ch; font-size: clamp(64px, 10vw, 112px); }
  .category-section-heading { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .category-item-grid { gap: 42px 22px; }
  .category-page.is-chair .category-item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 20px; }
}
@media (max-width: 560px) {
  .category-switcher { padding: 12px 18px; }
  .category-tabs { gap: 18px; }
  .category-tabs a { font-size: 13px; }
  .category-hero:not(.products-hero) { gap: 26px; padding: 28px 18px 54px; }
  .category-hero:not(.products-hero) h1 { font-size: clamp(42px, 12vw, 58px); }
  .category-page .category-hero.products-hero { min-height: min(760px, calc(100svh - 145px)); padding: 22px 0 28px; }
  .category-page .category-hero.products-hero .products-hero-top { align-items: flex-start; flex-direction: column; gap: 16px; }
  .category-page .category-hero.products-hero .products-hero-top p { max-width: none; font-size: 11px; }
  .category-page .category-hero.products-hero .products-hero-top a { margin-left: 0; min-height: 42px; }
  .category-page .category-hero.products-hero .products-hero-bottom { margin-bottom: 4px; }
  .category-page .category-hero.products-hero .products-hero-copy { max-width: 38ch; margin: 0 0 16px; font-size: 15px; }
  .category-page .category-hero.products-hero h1 { max-width: 13ch; font-size: clamp(48px, 11.2vw, 78px); line-height: .94; }
  .category-intro { margin-top: 18px; font-size: 16px; }
  .category-actions { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 22px; }
  .category-collection { padding: 60px 18px 72px; }
  .category-section-heading { margin-bottom: 32px; }
  .category-section-heading h2 { font-size: 36px; }
  .category-item-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .category-page.is-chair .category-item-grid { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .category-item-image { aspect-ratio: 1.35; }
  .category-page.is-chair .category-item-image { aspect-ratio: 1; }
  .category-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px 28px; padding: 0 18px 5px; }
  .category-filters button { flex: 0 0 auto; }
  .category-item-offset { margin-top: 0; }
  .category-item-copy { grid-template-columns: minmax(0,1fr); padding-top: 14px; }
  .category-item-copy h3 { font-size: 24px; }
  .category-next { padding: 48px 18px 62px; }
  .category-next-links { display: grid; grid-template-columns: minmax(0,1fr); }
  .category-next-links a { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .category-page *, .category-page *::before, .category-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
