/* 型錄：分類、產品卡片、詳細頁、圖庫與相關產品。 */
.catalog-heading {
  padding: 110px 8vw 80px;
  background: #eeece5;
}
.catalog-heading h1,
.detail-lead h1 {
  font-size: clamp(2.6rem, 5.3vw, 5.6rem);
  line-height: 1.22;
  font-weight: 400;
  letter-spacing: -0.045em;
  margin: 0 0 30px;
}
.catalog-heading > p:last-child {
  max-width: 420px;
  color: var(--muted);
}
.catalog-body {
  padding: 0 8vw 100px;
}
.filter-bar {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  padding: 32px 0 20px;
  overflow-x: auto;
}
.filter-bar button {
  border: 0;
  background: transparent;
  padding: 8px 0;
  white-space: nowrap;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.filter-bar button[aria-pressed='true'] {
  border-color: var(--ink);
  color: var(--ink);
}
.filter-bar small {
  margin-left: 7px;
  color: var(--accent);
}
.result-count {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 25px 0;
}
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px 34px;
}
.series-card {
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.series-photo {
  aspect-ratio: 1.6;
  background: #eeece6;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.series-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s;
}
.series-card:hover img {
  transform: scale(1.04);
}
.series-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-top: 18px;
}
.series-caption span:last-child {
  color: var(--muted);
}
.series-card h2 {
  font-size: 1.55rem;
  font-weight: 400;
  margin: 10px 0;
}
.series-card h2 span {
  float: right;
}
.series-card > p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 440px;
  margin: 0;
}
.catalog-end {
  padding: 90px 8vw;
  background: #dedbd2;
}
.catalog-end h2,
.detail-info h2,
.related h2 {
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 20px;
}
.catalog-end p:not(.eyebrow) {
  color: var(--muted);
}
.breadcrumb {
  padding: 32px 8vw;
  font-size: 0.75rem;
  color: var(--muted);
}
.breadcrumb a {
  color: inherit;
}
.detail-lead {
  padding: 35px 8vw 60px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: end;
}
.detail-lead h1 {
  font-size: clamp(2.2rem, 4.5vw, 4.7rem);
  margin-bottom: 20px;
}
.detail-lead > div > p:last-child {
  max-width: 520px;
  color: var(--muted);
}
.inquiry-link {
  gap: 30px;
  white-space: nowrap;
  color: var(--ink);
  border-bottom: 1px solid;
  padding: 12px 0;
  text-decoration: none;
}
.gallery {
  padding: 0 8vw 65px;
}
.main-photo {
  width: 100%;
  height: min(63vw, 650px);
  position: relative;
  border: 0;
  background: #eceae3;
  cursor: zoom-in;
  display: grid;
  place-items: center;
}
.main-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  min-height: 0;
}
.main-photo > span {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 0.75rem;
  background: var(--paper);
  padding: 8px 14px;
}
.thumbnail-strip {
  display: flex;
  overflow-x: auto;
  padding: 20px 2px;
}
.thumbnail-strip button {
  flex: 0 0 110px;
  width: 110px;
  height: 80px;
  background: #eeece6;
  border: 1px solid transparent;
  padding: 3px;
  cursor: pointer;
}
.thumbnail-strip button[aria-pressed='true'] {
  border: 2px solid var(--accent);
}
.thumbnail-strip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.detail-info {
  padding: 80px 8vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  background: #e8e5de;
}
.detail-info p:not(.eyebrow) {
  font-size: 0.95rem;
  color: #55564e;
  max-width: 480px;
  line-height: 1.9;
}
.detail-info .muted-note {
  font-size: 0.8rem !important;
}
.related {
  padding: 90px 8vw;
}
.related > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related a {
  color: inherit;
  text-decoration: none;
}
.related img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: contain;
  background: #efede6;
  mix-blend-mode: multiply;
}
.related span {
  display: block;
  font-size: 0.8rem;
  margin-top: 15px;
}
.series-card,
.catalog-heading,
.detail-lead {
  overflow-wrap: anywhere;
}
@media (max-width: 800px) {
  .catalog-heading {
    padding: 75px 7vw 50px;
  }
}
@media (max-width: 800px) {
  .catalog-body {
    padding: 0 7vw 65px;
  }
}
@media (max-width: 800px) {
  .filter-bar {
    gap: 22px;
  }
}
@media (max-width: 800px) {
  .catalog-grid {
    gap: 40px 20px;
  }
}
@media (max-width: 800px) {
  .series-card h2 {
    font-size: 1.2rem;
  }
}
@media (max-width: 800px) {
  .series-caption {
    font-size: 0.62rem;
  }
}
@media (max-width: 800px) {
  .series-caption span:last-child {
    display: none;
  }
}
@media (max-width: 800px) {
  .series-card > p {
    font-size: 0.8rem;
  }
}
@media (max-width: 800px) {
  .breadcrumb {
    padding: 25px 7vw;
  }
}
@media (max-width: 800px) {
  .detail-lead {
    padding: 20px 7vw 35px;
    display: block;
  }
}
@media (max-width: 800px) {
  .inquiry-link {
    margin-top: 12px;
  }
}
@media (max-width: 800px) {
  .gallery {
    padding: 0 7vw 40px;
  }
}
@media (max-width: 800px) {
  .main-photo {
    height: 65vw;
  }
}
@media (max-width: 800px) {
  .thumbnail-strip button {
    flex-basis: 85px;
    width: 85px;
    height: 64px;
  }
}
@media (max-width: 800px) {
  .detail-info {
    padding: 60px 7vw;
    grid-template-columns: 1fr;
    gap: 45px;
  }
}
@media (max-width: 800px) {
  .related {
    padding: 60px 7vw;
  }
}
@media (max-width: 800px) {
  .related > div {
    gap: 15px;
  }
}
@media (max-width: 800px) {
  .related span {
    font-size: 0.7rem;
  }
}
@media (max-width: 800px) {
  .catalog-end {
    padding: 65px 7vw;
  }
}
@media (max-width: 450px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 450px) {
  .series-photo {
    aspect-ratio: 1.5;
  }
}
@media (max-width: 450px) {
  .related > div {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 450px) {
  .related a {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
  }
}
@media (max-width: 450px) {
  .related span {
    font-size: 0.8rem;
  }
}
@media (max-width: 450px) {
  .main-photo > span {
    bottom: 10px;
    right: 10px;
  }
}
.series-photo,
.main-photo,
.thumbnail-strip button {
  background: #fff;
}
.series-photo img,
.main-photo img,
.thumbnail-strip img,
.related img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  transform: none;
}
.related img {
  height: auto;
  background: #fff;
}
.thumbnail-strip button {
  height: 108px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
.thumbnail-strip img {
  height: 70px;
  min-height: 0;
}
.thumbnail-strip span {
  font-size: 0.65rem;
  color: #65655e;
  white-space: nowrap;
}
.main-photo > span {
  background: #eeece5;
}
@media (max-width: 800px) {
  .thumbnail-strip button {
    height: 88px;
  }
}
@media (max-width: 800px) {
  .thumbnail-strip img {
    height: 52px;
  }
}
@media (max-width: 800px) {
  .thumbnail-strip span {
    font-size: 0.58rem;
  }
}
.detail-code {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  overflow-wrap: anywhere;
}
.result-count,
.series-caption,
.detail-code,
.thumbnail-strip span {
  font-size: 0.875rem;
  line-height: 1.65;
}
.series-card > p,
.detail-info p:not(.eyebrow) {
  font-size: 1.0625rem;
  line-height: 1.85;
}
.inquiry-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 100%;
  white-space: normal;
}
.filter-bar button {
  font-size: 1rem;
  min-height: 44px;
  line-height: 1.6;
}
.detail-info .muted-note {
  font-size: 0.9375rem !important;
}
.thumbnail-strip {
  gap: 12px;
  align-items: stretch;
}
.thumbnail-strip button {
  flex: 0 0 132px;
  width: 132px;
  height: auto;
  min-height: 124px;
  padding: 8px;
  justify-content: flex-start;
  gap: 7px;
}
.thumbnail-strip img {
  height: 76px;
  flex-shrink: 0;
}
.thumbnail-strip span {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.main-photo > span {
  font-size: 0.9375rem;
  line-height: 1.5;
}
.main-photo > span {
  padding: 10px 14px;
}
.detail-lead > * {
  min-width: 0;
}
@media (max-width: 800px) {
  .series-card > p,
  .detail-info p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.85;
  }
}
@media (max-width: 800px) {
  .series-caption,
  .thumbnail-strip span {
    font-size: 0.875rem;
  }
}
@media (max-width: 800px) {
  .series-card h2 {
    font-size: 1.375rem;
    line-height: 1.5;
  }
}
@media (max-width: 800px) {
  .filter-bar {
    flex-wrap: wrap;
    overflow: visible;
    gap: 8px 20px;
  }
}
@media (max-width: 800px) {
  .filter-bar button {
    padding: 10px 0;
    font-size: 1rem;
  }
}
@media (max-width: 800px) {
  .main-photo {
    height: min(100vw, 480px);
  }
}
@media (max-width: 800px) {
  .thumbnail-strip button {
    flex-basis: 124px;
    width: 124px;
    min-height: 124px;
    height: auto;
  }
}
@media (max-width: 800px) {
  .thumbnail-strip img {
    height: 76px;
  }
}
@media (max-width: 800px) {
  .main-photo > span {
    bottom: 12px;
    right: 12px;
    font-size: 0.9375rem;
  }
}
@media (max-width: 800px) {
  .detail-info dl > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    align-items: start;
    padding: 16px 0;
    font-size: 1rem;
  }
}
@media (max-width: 800px) {
  .detail-info dd {
    max-width: none;
    text-align: left;
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 800px) {
  .detail-info dt {
    font-weight: 600;
  }
}
@media (max-width: 800px) {
  .related span {
    font-size: 0.9375rem;
    line-height: 1.7;
  }
}
html[lang='en-US'] .spec-list dt {
  overflow-wrap: anywhere;
}
