.products-page {
  background: var(--ivory);
}

.products-page .site-header {
  background: linear-gradient(180deg, rgba(126, 118, 96, 0.98), rgba(100, 94, 77, 0.98));
  border-bottom-color: rgba(255, 253, 247, 0.2);
}

.products-page .brand-mark,
.products-page .nav-cta,
.products-page .language-toggle {
  color: var(--ink);
  background: var(--ivory);
  border-color: rgba(255, 253, 247, 0.58);
}

.products-page .nav-links a.is-current {
  color: var(--white);
}

.catalog-topbar {
  height: 72px;
  background: linear-gradient(180deg, rgba(126, 118, 96, 0.98), rgba(100, 94, 77, 0.98));
}

.catalog-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  color: var(--muted);
  background: var(--paper);
  font-size: 13px;
}

.catalog-breadcrumb a,
.catalog-breadcrumb strong {
  color: var(--olive-dark);
  font-weight: 500;
}

.catalog-breadcrumb span span,
.catalog-breadcrumb a span,
.catalog-breadcrumb strong span {
  color: var(--muted);
  font-size: 11px;
}

.brand-intro {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 7vw, 92px) 0 clamp(44px, 6vw, 70px);
  text-align: center;
}

.catalog-logo {
  display: grid;
  justify-items: center;
  margin-bottom: 30px;
}

.catalog-logo::before {
  content: none;
}

.catalog-logo img {
  display: block;
  width: clamp(58px, 6vw, 82px);
  height: auto;
}

.brand-intro h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 600;
  letter-spacing: 0;
}

.brand-intro p {
  max-width: 780px;
  margin: 24px auto 0;
  color: var(--body);
  font-size: 15px;
  line-height: 2;
}

.catalog-banner {
  width: 100%;
  overflow: hidden;
  background: var(--paper-deep);
}

.catalog-banner img {
  width: 100%;
  height: clamp(300px, 35vw, 540px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.catalog-main {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(34px, 4vw, 60px);
  width: min(1180px, calc(100% - 44px));
  margin: clamp(72px, 8vw, 110px) auto clamp(86px, 10vw, 140px);
}

.catalog-filter {
  align-self: start;
  position: sticky;
  top: 96px;
}

.filter-block {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.filter-block + .filter-block {
  margin-top: 16px;
}

.filter-block[open] {
  padding-bottom: 18px;
}

.filter-bar {
  display: block;
  height: 8px;
  margin-bottom: 8px;
  background: var(--olive);
}

.filter-red {
  background: linear-gradient(90deg, var(--olive-dark), var(--champagne), var(--olive-dark));
}

.filter-gold {
  background: linear-gradient(90deg, var(--champagne), var(--paper-deep), var(--champagne));
}

.filter-green {
  background: linear-gradient(90deg, var(--olive), var(--paper), var(--olive));
}

.filter-blue {
  background: linear-gradient(90deg, var(--olive), var(--paper), var(--olive));
}

.filter-purple {
  background: linear-gradient(90deg, var(--champagne), var(--paper-deep), var(--champagne));
}

.filter-brown {
  background: linear-gradient(90deg, var(--olive-dark), var(--champagne), var(--olive-dark));
}

.filter-block summary {
  display: flex;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 3px 0 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.filter-block summary::-webkit-details-marker {
  display: none;
}

.filter-block summary::after {
  content: "";
  width: 0;
  height: 0;
  margin-top: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--ink);
  transition: transform var(--ease);
}

.filter-block[open] summary::after {
  transform: rotate(180deg);
}

.filter-block summary small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.filter-options {
  display: grid;
  gap: 2px;
  padding: 2px 0 0 8px;
}

.filter-block label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 6px;
  padding: 4px 2px;
  color: var(--body);
  font-size: 12px;
  line-height: 1.45;
}

.filter-block label span {
  grid-column: 2;
  color: var(--muted);
  font-size: 10px;
}

.filter-block label .lang-zh,
.filter-block label .lang-en {
  color: var(--body);
  font-size: 12px;
}

.filter-block input {
  width: 12px;
  height: 12px;
  margin-top: 2px;
  accent-color: var(--olive);
}

.filter-block:not([open]) {
  padding-bottom: 12px;
}

.catalog-content {
  min-width: 0;
}

.catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}

.catalog-heading p {
  margin: 0 0 10px;
  color: var(--champagne);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.catalog-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}

.catalog-heading button {
  min-width: 82px;
  padding: 9px 18px;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  font-size: 14px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 34px;
}

.catalog-product {
  display: block;
  color: var(--ink);
  text-align: center;
}

.catalog-product figure {
  display: grid;
  place-items: center;
  aspect-ratio: 0.78;
  margin: 0 0 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.84), transparent 0 28%),
    linear-gradient(135deg, rgba(217, 209, 194, 0.38), rgba(255, 253, 247, 0.82) 48%, rgba(229, 223, 211, 0.42)),
    var(--paper);
}

.catalog-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(0.98);
  transition: transform 420ms ease, filter 300ms ease;
}

.catalog-product:hover img,
.catalog-product:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.03) contrast(1);
}

.catalog-product h3 {
  max-width: 250px;
  min-height: 46px;
  margin: 0 auto 7px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.catalog-product p {
  margin: 0;
  color: var(--olive-dark);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 82px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-pagination a {
  color: var(--muted);
  padding-bottom: 6px;
}

.catalog-pagination a.is-active {
  color: var(--ink);
  border-bottom: 1px solid var(--olive);
}

.catalog-pagination input {
  width: 42px;
  height: 32px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  text-align: center;
}

.catalog-quote {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(76px, 8vw, 116px) 24px;
  color: var(--white);
  background: var(--olive-dark);
  text-align: center;
}

.catalog-quote p {
  margin: 0;
  color: var(--champagne);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.catalog-quote h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
}

.catalog-quote > span {
  max-width: 680px;
  color: rgba(255, 253, 247, 0.68);
  font-size: 14px;
  line-height: 1.9;
}

.catalog-quote a {
  display: inline-grid;
  place-items: center;
  min-width: 230px;
  min-height: 54px;
  margin-top: 12px;
  padding: 0 28px;
  color: var(--ink);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.products-page .site-footer {
  color: var(--body);
  background: var(--paper);
}

.products-page .lang-en {
  display: none;
}

html[data-lang="en"] .products-page .lang-zh {
  display: none;
}

html[data-lang="en"] .products-page .lang-en {
  display: inline;
}

html[data-lang="en"] .products-page p.lang-en {
  display: block;
}

html[data-lang="en"] .products-page .catalog-breadcrumb a span,
html[data-lang="en"] .products-page .catalog-breadcrumb strong span {
  display: inline;
}

html[data-lang="en"] .products-page .filter-block summary small {
  display: none;
}

@media (max-width: 1100px) {
  .catalog-main {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 34px;
  }

  .catalog-grid {
    gap: 42px 24px;
  }
}

@media (max-width: 860px) {
  .catalog-main {
    grid-template-columns: 1fr;
  }

  .catalog-filter {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .filter-block + .filter-block {
    margin-top: 0;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .catalog-topbar {
    height: 66px;
  }

  .catalog-breadcrumb {
    padding-inline: 18px;
    font-size: 12px;
  }

  .brand-intro {
    padding-top: 46px;
  }

  .brand-intro p {
    font-size: 13px;
    line-height: 1.8;
  }

  .catalog-banner img {
    height: 280px;
  }

  .catalog-filter,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  .catalog-product figure {
    aspect-ratio: 1.02;
  }

  .catalog-product h3 {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-product img {
    transition: none;
  }
}
