/* Product detail: generous photography and readable specifications. */
.product-showcase { background: var(--paper); }
.product-showcase > .wrap { padding-block: 28px clamp(52px,7vw,104px); }
.showcase-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 36px; color: var(--muted); font-size: .74rem; line-height: 1.8; }
.showcase-crumb [aria-current] { color: var(--ink); }
.showcase-crumb > span[aria-hidden] { color: #a9aea4; }
.showcase-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); align-items: center; gap: clamp(36px,6vw,86px); }
.showcase-photo { margin: 0; overflow: hidden; background: #eceee7; border-radius: var(--radius); }
.showcase-image { padding: clamp(18px,3vw,40px); }
.showcase-image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.showcase-photo figcaption { position: static; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding: 14px 20px; background: #e4e8df; color: var(--muted); font-size: .69rem; line-height: 1.7; font-variant-numeric: tabular-nums; }
.showcase-zoom { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 9px 12px; color: var(--ink); background: transparent; border: 1px solid #bcc5b5; border-radius: var(--radius); font: 500 .73rem/1.4 var(--font-sans); cursor: zoom-in; transition: background .2s; }
.showcase-zoom:hover { background: var(--surface); }
.showcase-intro { min-width: 0; }
.showcase-category { margin: 0 0 18px; color: var(--wood); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.showcase-intro h1 { margin: 0 0 24px; font-size: clamp(2.4rem,4.2vw,4.1rem); line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere; }
html[lang="zh-CN"] .showcase-intro h1 { font-size: clamp(2rem,3.5vw,3.4rem); line-height: 1.35; letter-spacing: .015em; }
.showcase-description { max-width: 47ch; margin-bottom: 24px; color: var(--muted); font-size: .91rem; line-height: 1.9; }
.showcase-highlights { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 28px 0; padding-block: 20px; border-block: 1px solid var(--line); }
.showcase-highlights > div { display: grid; align-content: start; gap: 7px; min-width: 0; padding: 0; border: 0; }
.showcase-highlights > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.showcase-highlights dt { color: var(--muted); font-size: .72rem; line-height: 1.6; }
.showcase-highlights dd { margin: 0; font-size: .91rem; font-weight: 550; font-variant-numeric: tabular-nums; }
.showcase-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.showcase-actions .button { min-height: 48px; }
.showcase-review { min-height: 48px; padding: 12px 17px; color: var(--olive); background: transparent; border: 1px solid #bcc5b5; border-radius: var(--radius); font: 500 .83rem/1.5 var(--font-sans); cursor: pointer; transition: background .2s; }
.showcase-review:hover { background: #e6ebe1; }
.showcase-jump { display: flex; flex-wrap: wrap; gap: 2px 24px; margin-top: 20px; color: var(--muted); font-size: .77rem; }
.showcase-jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
#product-spec-title,#product-planning-title { scroll-margin-block-start: 112px; }

/* A clean table keeps listed and pending specifications visually distinct. */
.showcase-specs { padding-block: clamp(48px,6.5vw,88px); background: #eef0e9; border-block: 1px solid var(--line); }
.showcase-specs-layout,.showcase-planning-layout { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); align-items: start; gap: clamp(36px,7vw,100px); }
.showcase-specs-copy h2,.showcase-planning h2 { margin-bottom: 20px; font-size: clamp(2rem,3.3vw,3.1rem); line-height: 1.15; }
html[lang="zh-CN"] .showcase-specs-copy h2,html[lang="zh-CN"] .showcase-planning h2 { line-height: 1.35; }
.showcase-specs-copy p { max-width: 36ch; color: var(--muted); font-size: .87rem; line-height: 1.9; }
.showcase-specs-copy .plain { font-size: .8rem; }
.showcase-specs-data { min-width: 0; }
.showcase-specs-data table { width: 100%; border-collapse: collapse; table-layout: fixed; color: var(--ink); background: transparent; text-align: left; font-size: .83rem; line-height: 1.7; font-variant-numeric: tabular-nums; }
.showcase-specs-data thead { color: var(--olive); font-size: .71rem; }
.showcase-specs-data th,.showcase-specs-data td { padding: 16px 12px; border-bottom: 1px solid #d3d9cd; vertical-align: top; overflow-wrap: anywhere; }
.showcase-specs-data thead th { border-bottom: 2px solid #aab6a1; font-weight: 600; }
.showcase-specs-data th:first-child { width: 35%; padding-left: 0; }
.showcase-specs-data th:last-child,.showcase-specs-data td:last-child { width: 25%; padding-right: 0; }
.showcase-specs-data th[scope="row"] { font-weight: 500; }
.showcase-specs-data tbody tr:last-child > * { border-bottom: 0; }
.spec-status { display: inline-block; padding: 3px 8px; border-radius: 3px; color: #735936; background: #e9e1d3; font-size: .68rem; line-height: 1.6; }
.spec-status-listed { color: #3d5942; background: #dfe7da; }
.showcase-planning { padding-block: clamp(48px,6.5vw,88px); border-bottom: 1px solid var(--line); }
.showcase-planning-reference { max-width: 35ch; color: var(--muted); font-size: .87rem; line-height: 1.9; overflow-wrap: anywhere; }
.showcase-planning-reference strong { display: block; margin-top: 12px; color: var(--ink); font-weight: 550; font-variant-numeric: tabular-nums; }
.showcase-checklist { margin: 0; padding: 0; list-style: none; counter-reset: planning; }
.showcase-checklist li { position: relative; padding: 0 0 24px 46px; counter-increment: planning; }
.showcase-checklist li + li { padding-top: 24px; border-top: 1px solid var(--line); }
.showcase-checklist li:last-child { padding-bottom: 0; }
.showcase-checklist li::before { content: "0" counter(planning); position: absolute; left: 0; top: 2px; color: var(--wood); font-size: .77rem; font-variant-numeric: tabular-nums; }
.showcase-checklist li + li::before { top: 26px; }
.showcase-checklist h3,html[lang="zh-CN"] .showcase-checklist h3 { margin: 0 0 8px; font: 550 .96rem/1.6 var(--font-sans); }
.showcase-checklist p { margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.9; }
.product-related > h2 { margin-bottom: 32px; }

/* Product-specific editorial and a practical sample review companion. */
.product-context { padding-block: clamp(48px,6.5vw,88px); border-top: 1px solid var(--line); }
.product-context__layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px,6vw,86px); align-items: center; }
.product-context__copy h2 { max-width: 18ch; margin-bottom: 25px; font-size: clamp(1.9rem,3vw,2.8rem); }
.product-context__copy > p:not(.eyebrow) { max-width: 55ch; color: var(--muted); font-size: .95rem; line-height: 1.9; }
.product-context__detail { margin-top: 28px; padding-left: 20px; border-left: 2px solid #9ba991; }
.product-context__detail h3 { margin-bottom: 9px; font: 600 .88rem/1.5 var(--font-sans); }
.product-context__detail p { color: var(--muted); font-size: .88rem; }
.product-pairing { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1fr); gap: 24px; align-items: center; padding: 24px; background: #eeefe8; }
.product-pairing__image { display: block; }
.product-pairing__image img { aspect-ratio: 1; object-fit: contain; }
.product-pairing__eyebrow { margin-bottom: 12px; color: var(--wood); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.product-pairing h3 { margin-bottom: 13px; font: 550 1.1rem/1.5 var(--font-sans); }
.product-pairing p:not(.product-pairing__eyebrow) { color: var(--muted); font-size: .83rem; line-height: 1.8; }
.product-pairing small { display: block; margin-top: 16px; font-size: .7rem; line-height: 1.7; }
.product-sample { padding-block: clamp(48px,6.5vw,88px); background: #f0eee6; border-bottom: 1px solid var(--line); }
.product-sample__layout { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: clamp(32px,6vw,86px); align-items: start; }
.product-sample h2 { margin-bottom: 22px; font-size: clamp(1.9rem,3vw,2.8rem); }
.product-sample__layout > div > p:not(.eyebrow) { max-width: 40ch; color: var(--muted); font-size: .9rem; }
.product-sample__table { min-width: 0; }
.product-sample table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: .88rem; line-height: 1.8; }
.product-sample th, .product-sample td { padding: 19px 16px; border-bottom: 1px solid #d5d6cb; vertical-align: top; overflow-wrap: anywhere; }
.product-sample thead th { padding-top: 0; color: var(--olive); font-size: .76rem; font-weight: 600; border-bottom-width: 2px; }
.product-sample th:first-child { width: 30%; padding-left: 0; }
.product-sample th[scope="row"] { font-weight: 600; }
.product-sample td { padding-right: 0; color: var(--muted); }
.product-sample tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 1050px) {
  .product-pairing { grid-template-columns: minmax(0,1fr); padding: 20px; }
  .product-pairing__image { width: min(100%,240px); }
}
@media (max-width: 760px) {
  .product-context__layout, .product-sample__layout { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .product-context__copy h2 { max-width: none; }
  .product-pairing { grid-template-columns: minmax(0,.75fr) minmax(0,1fr); }
  .product-sample__layout > div > p:not(.eyebrow) { max-width: none; }
}
@media (max-width: 450px) {
  .product-pairing { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .product-pairing__image { width: 100%; max-width: 280px; margin-inline: auto; }
  .product-sample table { font-size: .82rem; }
  .product-sample th, .product-sample td { padding: 15px 8px; }
  .product-sample th:first-child { width: 33%; }
}

/* The native dialog retains its checkbox-based 2x image zoom. */
.product-image-dialog { width: min(860px,calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
.product-image-dialog .dialog-head { padding: 20px 24px; }
.product-image-dialog .dialog-head h2 { font-size: 1.6rem; line-height: 1.4; }
.product-image-panel { padding: 16px 24px 24px; }
.product-image-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; color: var(--muted); font-size: .78rem; }
.product-image-toolbar label { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; font-weight: 400; cursor: pointer; }
.product-image-toolbar input { width: 18px; height: 18px; padding: 0; accent-color: var(--olive); }
.product-image-viewport { max-height: min(68dvh,680px); overflow: auto; background: #eceee7; }
.product-image-viewport img { display: block; width: min(100%,62dvh); height: auto; object-fit: contain; margin-inline: auto; }
.product-image-panel:has(#product-zoom-toggle:checked) img { width: min(200%,124dvh); max-width: none; }

@media (max-width: 900px) {
  .showcase-layout { gap: 30px; }
  .showcase-specs-layout,.showcase-planning-layout { gap: 36px; }
  .showcase-actions > * { flex: 1 1 auto; }
}
@media (max-width: 760px) {
  .product-showcase > .wrap { padding-top: 20px; }
  .showcase-crumb { margin-bottom: 24px; font-size: .7rem; gap: 4px 9px; }
  .showcase-layout,.showcase-specs-layout,.showcase-planning-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .showcase-photo { width: 100%; max-width: 520px; margin-inline: auto; }
  .showcase-image { padding: 22px; }
  .showcase-category { margin-bottom: 12px; }
  .showcase-intro h1 { margin-bottom: 18px; }
  .showcase-description { max-width: none; }
  .showcase-highlights { margin-block: 24px; }
  .showcase-actions { display: none; }
  .showcase-jump { margin-top: 0; }
  .showcase-specs-copy p,.showcase-planning-reference { max-width: none; }
  .product-image-dialog .dialog-head { padding: 16px; }
  .product-image-panel { padding: 12px 16px 16px; }
}
@media (max-width: 450px) {
  .showcase-photo figcaption { padding: 10px 12px; gap: 8px; }
  .showcase-zoom { padding-inline: 8px; font-size: .68rem; }
  .showcase-highlights { gap: 14px; }
  .showcase-highlights > div + div { padding-left: 14px; }
  .showcase-highlights dd { font-size: .85rem; }
  .showcase-specs-data table { font-size: .76rem; }
  .showcase-specs-data th,.showcase-specs-data td { padding: 13px 7px; }
  .showcase-specs-data th:last-child,.showcase-specs-data td:last-child { width: 27%; }
  .spec-status { padding: 3px 5px; font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-review,.showcase-zoom { transition: none; }
}
